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

fix build #233

Merged
merged 1 commit into from
Jan 24, 2023
Merged

fix build #233

merged 1 commit into from
Jan 24, 2023

Conversation

n0tl3ss
Copy link
Member

@n0tl3ss n0tl3ss commented Jan 24, 2023

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@n0tl3ss n0tl3ss marked this pull request as ready for review January 24, 2023 14:45
@n0tl3ss n0tl3ss requested a review from graemerocher January 24, 2023 14:45
@graemerocher graemerocher merged commit dc30309 into 4.6.x Jan 24, 2023
@graemerocher graemerocher deleted the fix/update-build-mc-3.x branch January 24, 2023 14:46
n0tl3ss added a commit that referenced this pull request Jan 30, 2023
n0tl3ss added a commit that referenced this pull request Jan 31, 2023
* User route template as OpenTelemetry HTTP route (#182)

* Remove unused import

* Verify 404 not found still has route path returned

* Set status code in doOnNext

* Update tracing-opentelemetry-http/src/main/java/io/micronaut/tracing/opentelemetry/instrument/http/server/OpenTelemetryServerFilter.java

Co-authored-by: Nemanja Mikic <n0t_l3ss@outlook.com>

* Set http.route attribute as path template (#149)

We have seen issues with the current spans exported from the http
library in observability backends, due to too granular span names when
the routes contain path variables.

As per the opentelemetry specification, this PR extracts the path
template from the UriRouteMatch object, and sets it as the
`http.route` attribute.

https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/http/#http-server-semantic-conventions

* Update tracing-opentelemetry-http/src/main/java/io/micronaut/tracing/opentelemetry/instrument/http/server/MicronautHttpServerAttributesGetter.java

Co-authored-by: Sergio del Amo <sergio.delamo@softamo.com>
Co-authored-by: Nemanja Mikic <nemanja.mikic@oracle.com>

* Update common files (#175)

* fix build (#233)

---------

Co-authored-by: Xiaochao Yang <xy@zira.ai>
Co-authored-by: StevenPJ <spalmerjones@gmail.com>
Co-authored-by: Sergio del Amo <sergio.delamo@softamo.com>
Co-authored-by: micronaut-build <65172877+micronaut-build@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants