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

Add a meta metric about the scrape format #4862

Closed
roidelapluie opened this Issue Nov 13, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@roidelapluie
Copy link
Contributor

roidelapluie commented Nov 13, 2018

With the same labels as up, I'd like to have a metric called:

scrape_format{name="openmetrics",transport="http",job="node",instance="srv01"} 1

That could ease the migration to openmetrics

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Feb 4, 2019

Hmm this would mix target labels and format labels on the same time series, with potential collision resolution required. Maybe a sample value enum instead? Another metric could then define the enum values, if needed.

Or we just add counters for how many endpoints in total were scraped in either format.

@roidelapluie

This comment has been minimized.

Copy link
Contributor Author

roidelapluie commented Feb 8, 2019

actually I would like to see more metrics related to scrape in general, e.g. return code.. it would be metrics like "up"

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Feb 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.