Skip to content

Using otlp exporter for self metrics#2093

Merged
rafaelwestphal merged 55 commits intomasterfrom
westphalrafael-agent-otlp
Feb 23, 2026
Merged

Using otlp exporter for self metrics#2093
rafaelwestphal merged 55 commits intomasterfrom
westphalrafael-agent-otlp

Conversation

@rafaelwestphal
Copy link
Copy Markdown
Contributor

@rafaelwestphal rafaelwestphal commented Oct 15, 2025

Description

This updates the self-metrics pipelines to use the otlp exporter. This includes the agent metrics (uptime, api_request_count, point_count) and the feature tracking pipelines.

Related issue

b/452074867

How has this been tested?

Checklist:

  • Unit tests
    • Unit tests do not apply.
    • Unit tests have been added/modified and passed for this PR.
  • Integration tests
    • Integration tests do not apply.
    • Integration tests have been added/modified and passed for this PR.
  • Documentation
    • This PR introduces no user visible changes.
    • This PR introduces user visible changes and the corresponding documentation change has been made.
  • Minor version bump
    • This PR introduces no new features.
    • This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
    • This PR bumps the version.

@quentinmit
Copy link
Copy Markdown
Member

Why is this using otlphttp instead of otlpgrpc?

@rafaelwestphal
Copy link
Copy Markdown
Contributor Author

rafaelwestphal commented Oct 16, 2025

Why is this using otlphttp instead of otlpgrpc?

otlpgrpc doesn't allow us to set the user agent, but otlphttp does. we are using otlphttp until that gets implemented. iirc from the initial analysis, implementing that was not trivial

@rafaelwestphal rafaelwestphal requested review from a team, franciscovalentecastro and ridwanmsharif and removed request for a team October 22, 2025 15:06
@rafaelwestphal rafaelwestphal marked this pull request as ready for review October 22, 2025 15:07
Comment thread confgenerator/confgenerator.go
Copy link
Copy Markdown
Contributor

@franciscovalentecastro franciscovalentecastro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo addressing the last comments and all integration tests pass.

Comment thread confgenerator/confgenerator.go Outdated
Comment thread confgenerator/confgenerator.go Outdated
@franciscovalentecastro
Copy link
Copy Markdown
Contributor

[nit] Add a PR description with details about the changes.

Comment thread confgenerator/otel/modular.go Outdated
Copy link
Copy Markdown
Contributor

@franciscovalentecastro franciscovalentecastro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll keep the approval (to not block the PR) modulo addressing the [Requested Change] above.

@rafaelwestphal rafaelwestphal changed the title Using otlphttp exporter for self metrics Using otlp exporter for self metrics Feb 20, 2026
@rafaelwestphal rafaelwestphal merged commit db7f747 into master Feb 23, 2026
76 of 79 checks passed
@rafaelwestphal rafaelwestphal deleted the westphalrafael-agent-otlp branch February 23, 2026 15:42
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.

4 participants