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

average of only successful scrape #5407

Closed
echo-of-wind opened this Issue Mar 26, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@echo-of-wind
Copy link

echo-of-wind commented Mar 26, 2019

for every scrape, two metrics are gotten:

  1. probe_status, 0 for failure, 1 for success
  2. probe_duration, duration for probe

so how to query avg of probe_duration for probes whose probe_status are success?

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Mar 26, 2019

It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.

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.