Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NH-91517 only set response time HTTP attrs for HTTP server entry spans #160

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

cheempz
Copy link
Contributor

@cheempz cheempz commented Sep 17, 2024

Description

While checking over the lambda telemetry it was found that the trace response time metric, when gathered for a non-HTTP entry span (such as a "detached" AWS SDK client call), was still getting the HTTP metric attributes. This PR fixes the logic to be desired and in line with standard solarwinds processor behaviour.

Test (if applicable)

Enbled and updated the basic solarwinds OTLP processor tests now that OTel Metrics SDK is available. Haven't figured out how to verify actual processor on start/end behaviour re: generating some spans/metrics ;). Also saw otel_lambda_config_test.rb currently skipped, maybe we address later or feel free to add to this PR.

@cheempz cheempz changed the title only set response time HTTP attrs for HTTP server entry spans; enable… NH-??? only set response time HTTP attrs for HTTP server entry spans Sep 17, 2024
@cheempz cheempz changed the title NH-??? only set response time HTTP attrs for HTTP server entry spans NH-91517 only set response time HTTP attrs for HTTP server entry spans Sep 17, 2024
@cheempz cheempz marked this pull request as ready for review September 17, 2024 23:47
@cheempz cheempz requested a review from a team as a code owner September 17, 2024 23:47
@cheempz cheempz merged commit e6a30c1 into main Sep 18, 2024
14 checks passed
@cheempz cheempz deleted the fix-response-metric-otlp branch September 18, 2024 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants