cdaguerre
Repos
76
Followers
25
Following
7

Events

Generic 404 operation

Right now, for requests, the operation name is set/updated multiples during the instrumentation:

  1. first, it is set to whatever the request uri is, eg. http.get /posts/123.
  2. when the symfony route is resolved, we set the operation name to the route_name or route_path, eg. http.get /posts/{id}, depending on which resolver you configure
  3. if the response code is 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.
  4. The problem is particularly obvious when you're getting scraped by robots because each 404 for a file they test (eg. wp-admin.php, config.php, .env, etc...) would be a different operation from Otel's perspective...

One way to fix this, would be to set the operation name to http.error 404 only if no route name was ever resolved.

Created at 4 weeks ago

only set generic 404 operation when no route was resolved (#39)

Created at 4 weeks ago
pull request closed
only set generic 404 operation when no route was resolved

Fixes #40

Created at 4 weeks ago
Generic 404 operation

Right now, for requests, the operation name is set/updated multiples during the instrumentation:

  1. first, it is set to whatever the request uri is, eg. http.get /posts/123.
  2. when the symfony route is resolved, we set the actual operation name, eg. http.get /posts/{id}.
  3. if the response code is 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.
  4. The problem is particularly obvious when you're getting scraped by robots because each 404 for a file they test (eg. wp-admin.php, config.php, .env, etc...) would be a different operation from Otel's perspective...

One way to fix this, would be to set the operation name to http.error 404 only if no route name was ever resolved.

Created at 4 weeks ago

fix phpstan lint

add operation name as label to response_codes_total metric

Created at 4 weeks ago
pull request opened
only set generic 404 operation when no route was resolved
Created at 4 weeks ago
cdaguerre create branch only-set-generic-404-op-name-when-no-route-was-resolved
Created at 4 weeks ago

add operation name as label to response_codes_total metric

Created at 4 weeks ago
pull request opened
add operation name as label to `response_codes_total` metric
Created at 4 weeks ago
cdaguerre create branch add-operation-name-to-response-code-metric
Created at 4 weeks ago
cdaguerre create tag 1.0.0beta3
Created at 1 month ago

keep http response content even when throwing (#37)

Created at 1 month ago
pull request closed
keep http response content even when throwing
Created at 1 month ago
pull request opened
keep http response content even when throwing
Created at 1 month ago
cdaguerre create branch keep-http-response-content-even-when-throwing
Created at 1 month ago
cdaguerre create tag 1.0.0.beta2
Created at 1 month ago
cdaguerre delete tag 1.0.0beta2
Created at 1 month ago
cdaguerre delete branch http-bodies-as-attrs
Created at 1 month ago
pull request closed
Http bodies as attrs
Created at 1 month ago

catch exceptions during http message bodies span attributes creation

Created at 1 month ago

add opt-in feature to add http message bodies as span attributes

Merge branch 'master' into http-bodies-as-attrs

Created at 1 month ago
pull request opened
Http bodies as attrs
Created at 1 month ago

catch exceptions during http message bodies span attributes creation

Created at 1 month ago
cdaguerre create tag 1.0.0beta2
Created at 1 month ago

add opt-in feature to add http message bodies as span attributes

Created at 1 month ago
pull request closed
add opt-in feature to add http message bodies as span attributes
Created at 1 month ago