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

Dynamic resources #73

Closed
garthk opened this issue Apr 16, 2020 · 2 comments
Closed

Dynamic resources #73

garthk opened this issue Apr 16, 2020 · 2 comments
Projects

Comments

@garthk
Copy link
Contributor

garthk commented Apr 16, 2020

We need to send all events with specific attributes for correlation, suggesting we use OpenTelemetry resources… but for some of the attributes we need the values to be computed on the fly eg. for:

  • Instance uptime
  • RAM consumption and availability
  • Disk consumption and availability
  • CPU consumption and availability

We can't satisfy this need with metrics: to use our trace destination to correlate these against other measurements and metadata in our trace attributes, we need these to also be present in our span attributes.

I've got two obvious places to put this capability, both of which feel wrong:

  • A wrapper around the OpenTelemetry API to make it more useful
  • The exporter

Is there some place I could put it? A hook at span creation or completion would do the trick, or both if I wanted to do an adequate job for CPU consumption without needing to keep a log somewhere.

@tsloughter
Copy link
Member

This is a use for span processors. If their capabilities aren't enough to make this possible then we need to change them until it is.

@tsloughter tsloughter added this to To do in API and SDK Sep 27, 2020
@tsloughter
Copy link
Member

Closing this as there hasn't been anything new in a year.

API and SDK automation moved this from To do to Done Dec 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants