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

support for logical binary operator between range vector #5409

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

Comments

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

echo-of-wind commented Mar 27, 2019

probe_duration_seconds and probe_success are two metrics for every scrape, the following query attempts to query the five minutes interval range vector one hour ago, whose probe_success equals 1(now it prompts 'syntax error'):

probe_duration_seconds[5m] offset 1h and probe_success==1

from the doc, logical binary operator is only supported between two instant vectors.

@echo-of-wind echo-of-wind changed the title support for logical operator between range vector support for logical binary operator between range vector Mar 27, 2019

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Mar 27, 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.