Right now, for requests, the operation name is set/updated multiples during the instrumentation:
http.get /posts/123
.route_name
or route_path
, eg. http.get /posts/{id}
, depending on which resolver you configure404
, we set the operation name to http.error 404
to avoid the high cardinality of op names that would occur if no route name was ever resolved.One way to fix this, would be to set the operation name to http.error 404
only if no route name was ever resolved.
only set generic 404 operation when no route was resolved (#39)
Fixes #40
Right now, for requests, the operation name is set/updated multiples during the instrumentation:
http.get /posts/123
.http.get /posts/{id}
.404
, we set the operation name to http.error 404
to avoid the high cardinality of op names that would occur if no route name was ever resolved.One way to fix this, would be to set the operation name to http.error 404
only if no route name was ever resolved.
fix phpstan lint
add operation name as label to response_codes_total
metric
add operation name as label to response_codes_total
metric
keep http response content even when throwing (#37)
catch exceptions during http message bodies span attributes creation
add opt-in feature to add http message bodies as span attributes
Merge branch 'master' into http-bodies-as-attrs
catch exceptions during http message bodies span attributes creation
add opt-in feature to add http message bodies as span attributes