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

Add per-signal requests counter. #69

Merged
merged 1 commit into from
May 4, 2023
Merged

Add per-signal requests counter. #69

merged 1 commit into from
May 4, 2023

Conversation

kovrus
Copy link
Contributor

@kovrus kovrus commented Apr 28, 2023

Add per signal request counter. See https://github.com/grafana/otel-squad/issues/11

We will have the following metrics:

  • otlp_gateway_gcom_api_logs_requests_total
  • otlp_gateway_gcom_api_metrics_requests_total
  • otlp_gateway_gcom_api_traces_requests_total

with the following labels:

  • org_id
  • tenant_id
  • cluster_url

It is similar to what OTLP gateway v1 exposes now. Additionally, OTLP gateway v1 exposes unknown cluster metrics, which would have to be replaced later by similar metrics in the routing processor.

Note:

The collector must be run with --feature-gates telemetry.useOtelForInternalMetrics to have these metrics exposed.

@kovrus kovrus force-pushed the r/add-counter branch 2 times, most recently from 8220128 to 4e6bd9d Compare April 28, 2023 08:26
@kovrus kovrus merged commit 2a74a4d into main May 4, 2023
2 checks passed
@kovrus kovrus deleted the r/add-counter branch May 4, 2023 10:07
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.

None yet

4 participants