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

Pass exporter identifier to http client metrics #12280

Open
harsh8398 opened this issue Feb 4, 2025 · 0 comments
Open

Pass exporter identifier to http client metrics #12280

harsh8398 opened this issue Feb 4, 2025 · 0 comments

Comments

@harsh8398
Copy link

Is your feature request related to a problem? Please describe.
Currently, it is impossible to identify what exporter is emitting the detailed http instrumentation metrics listed here. This is especially a prominent problem when trying to debug issues in systems using many types of exporters.

Describe the solution you'd like
Add exporter identifier to all http instrumentation metrics

Additional context

Example metric showing current available attributes:

# HELP otelcol_http_client_duration Measures the duration of outbound HTTP requests.
# TYPE otelcol_http_client_duration histogram
otelcol_http_client_duration_bucket{http_method="POST",http_status_code="401",net_peer_name="xyz",service_instance_id="142ba07c-ca3e-4ede-8fd6-de3e18a347e0",service_name="otelcorecol",service_version="0.103.0-dev",le="0"} 0
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

No branches or pull requests

1 participant