Skip to content

Pranav/diff log level for otlp and stdout#335

Draft
pranavpadmasali wants to merge 3 commits into
mainfrom
pranav/diff-log-level-for-otlp-and-stdout
Draft

Pranav/diff log level for otlp and stdout#335
pranavpadmasali wants to merge 3 commits into
mainfrom
pranav/diff-log-level-for-otlp-and-stdout

Conversation

@pranavpadmasali

Copy link
Copy Markdown
Contributor

What does this PR do / why do we need it?

Required for all PRs.

Related Issue(s)

Required when applicable.

Where should the reviewer(s) start reviewing this?

Only required for larger PRs when this may not be immediately obvious.

Are there any specific topics we should discuss before merging?

Not required.

What are the next steps after this PR?

Not required.

Checklist before merging:

Required for all PRs.

When creating a PR these are items to keep in mind that cannot be checked by GitHub actions:

  • Documentation:
    • Does developer documentation (code comments, readme, etc.) need to be added or updated?
    • Does the user documentation need to be expanded or updated for this change?
  • Testing:
    • Does this functionality require changing or adding new unit tests?
    • Does this functionality require changing or adding new integration tests?
  • Git Hygiene:

For more details refer to the Go coding standards and the pull request process.

- Add common/telemetry package with OTLP metric/log export via gRPC or HTTP, configurable TLS, compression, histogram boundaries, and SIGHUP hot-reload.
- Bridge zap logger to OTel log exporter so structured logs ship to OTLP backends alongside metrics without duplicating the log pipeline.
- Expose Logger.Meter() so components obtain named OTel meters from the logger directly, removing need for a separate telemetry handle.
- Wire telemetry init into beegfs-remote, beegfs-sync, and beegfs-watch entry points with graceful Shutdown on exit.
- Replace expvar-based scheduler metrics with OTel instruments and add common/scheduler and rst/remote workermgr tests covering the new metric paths.
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.

1 participant