Skip to content

Conversation

sebastienros
Copy link
Member

Description

Fixes #7452

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No
  • Does the change require an update in our Aspire docs?

@sebastienros
Copy link
Member Author

@Mpdreamz does this change make sense? The PingRequest uses "ping" as the OperationName, I assume the otel part of ES is doing this projection to DisplayName?

@stevejgordon
Copy link

@sebastienros I'm going to check this on our end. I expected both DisplayName and OperationName to match and be "ping", so there may be a bug in a recent refactoring of the OTel instrumentation in our libraries.

@stevejgordon
Copy link

@sebastienros - Having reviewed our changes, I see that this is expected, and this PR LGTM.

Our Transport layer creates a general Activity passing in the HTTP method name, which becomes OperationName and DisplayName (HEAD in this case). We provide a callback to our client library built on top of Transport, which then sets the DisplayName to the logical operation name (ping in this case). As there is no API to change OperationName, we leave that as is. Since OTLP exports using the DisplayName, this is fine.

@davidfowl
Copy link
Member

Thanks @stevejgordon !

@davidfowl davidfowl merged commit d25bb1f into main Feb 13, 2025
70 checks passed
@davidfowl davidfowl deleted the sebros/elastictest branch February 13, 2025 08:34
@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Mar 10, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Apr 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Test] Fix ElasticSearch client integration tests on GitHub Actions

3 participants