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

Metric Service Discovery Specs #263

Closed
austince opened this issue Feb 21, 2021 · 2 comments
Closed

Metric Service Discovery Specs #263

austince opened this issue Feb 21, 2021 · 2 comments

Comments

@austince
Copy link

austince commented Feb 21, 2021

Hey all, I'm doing some research on service discovery for scraping metrics (like the ones natively supported in Prometheus). I'm wondering if there's been any work in open-telemetry to define a standard discovery protocol for metric scrape targets (and associated labels)? The protocol defined in OTEPS looks interesting, but leaves out discovery.

More significant changes must be explicitly defined as new optional capabilities in future RFCs. Such capabilities SHOULD be discovered by client and server implementations after establishing the underlying transport. The exact discovery mechanism SHOULD be described in future RFCs which define the new capabilities and typically can be implemented by making a discovery request/response message exchange from the client to server. The mandatory capabilities defined by this specification are implied and do not require a discovery. The implementation which supports a new, optional capability MUST adjust its behavior to match the expectation of a peer that does not support a particular capability.

Have I just missed it somewhere?

Thanks!

@austince austince changed the title Discovery Specs Metric Service Discovery Specs Feb 21, 2021
@jmacd
Copy link
Contributor

jmacd commented Feb 24, 2021

@austince Yes!

See here:
open-telemetry/opentelemetry-specification#1078 (comment)
and
open-telemetry/opentelemetry-specification#1298 (comment)

As you'll see, this is a current topic. I'm trying to catch up with rumored parallel conversations in the OTel Logging group that is discussing how we log about resources, which feels related.

@austince
Copy link
Author

This seems like the wrong repo for this issue, but thanks for pointing me to those conversations! I'll be actively following if you all decide to adopt "service discovery" into your domain (🤞🏼).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants