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

Create simple Supervisor example #78

Conversation

tigrannajaryan
Copy link
Member

@tigrannajaryan tigrannajaryan commented May 19, 2022

  • The Supervisor can manage OpenTelemetry Collector.
  • Demonstrates basic features: applying config, configuring Collector to collect its own metrics.

TODO:

@tigrannajaryan tigrannajaryan requested a review from a team May 19, 2022 17:23
@codecov
Copy link

codecov bot commented May 19, 2022

Codecov Report

Merging #78 (b971ffe) into main (26dad6c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #78   +/-   ##
=======================================
  Coverage   78.07%   78.07%           
=======================================
  Files          22       22           
  Lines        1733     1733           
=======================================
  Hits         1353     1353           
  Misses        285      285           
  Partials       95       95           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 26dad6c...b971ffe. Read the comment docs.

@tigrannajaryan tigrannajaryan force-pushed the feature/tigran/begin-supervisor branch from b438fb1 to feedb95 Compare May 19, 2022 17:33
@tigrannajaryan
Copy link
Member Author

@andykellr @pmm-sumo please review.

Copy link
Contributor

@pmm-sumo pmm-sumo left a comment

Choose a reason for hiding this comment

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

LGTM overall

@tigrannajaryan tigrannajaryan force-pushed the feature/tigran/begin-supervisor branch from feedb95 to 42220b9 Compare May 25, 2022 23:35
- The Supervisor can manage OpenTelemetry Collector.
- Demonstrates basic features: applying config, configuring Collector to collect its own metrics.

TODO:
- Find a way to fetch Collector version instead of hard-coding it.
- Set instance id in the Collector config file to make sure OpAMP and Collector
  metrics use the same instance id.
  (Related open issue open-telemetry/opentelemetry-collector#5398)
- Re-think callbacks to avoid unnecessary restarts
  (See open-telemetry#77)
- Add a way for Supervisor to understand why the Collector process exited unexpectedly.
@tigrannajaryan tigrannajaryan force-pushed the feature/tigran/begin-supervisor branch from 42220b9 to b971ffe Compare May 25, 2022 23:36
@tigrannajaryan tigrannajaryan merged commit b655f04 into open-telemetry:main May 25, 2022
@tigrannajaryan tigrannajaryan deleted the feature/tigran/begin-supervisor branch May 25, 2022 23:47
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.

2 participants