mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-30 06:51:30 +02:00
## Summary With metrics now going via OTEL -> Prometheus exporter, there were couple issues: - some newer metrics had non-standard units that ended up in metric names like `pomerium_storage_global_cache_hits__hit__total` - we had three additional tags (`otel_scope_name`, `otel_scope_schema_url`, `otel_scope_version`) added to each metric, which do not really carry much meaningful information for us and expand metric cardinality. This PR reverts those two changes and updates the prometheus exporter. ## Related issues Related: https://github.com/open-telemetry/opentelemetry-go/issues/7039 ## User Explanation <!-- How would you explain this change to the user? If this change doesn't create any user-facing changes, you can leave this blank. If filled out, add the `docs` label --> ## Checklist - [x] reference any related issues - [ ] updated unit tests - [x] add appropriate label (`enhancement`, `bug`, `breaking`, `dependencies`, `ci`) - [x] ready for review |
||
---|---|---|
.. | ||
autocert.go | ||
bench_test.go | ||
const.go | ||
doc.go | ||
envoy.go | ||
grpc.go | ||
grpc_test.go | ||
helpers_test.go | ||
http.go | ||
http_test.go | ||
info.go | ||
info_test.go | ||
otel.go | ||
processes.go | ||
processes_test.go | ||
providers.go | ||
providers_test.go | ||
registry.go | ||
storage.go | ||
storage_test.go |