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

RED method graphs for Prism #949

Merged
merged 4 commits into from
Oct 25, 2016
Merged

RED method graphs for Prism #949

merged 4 commits into from
Oct 25, 2016

Conversation

jml
Copy link

@jml jml commented Oct 24, 2016

  • Recording rules for Prism HTTP request latency
  • Move the "Retrieval stats" graphs to the bottom of the Prism dashboard
  • Add standard QPS and latency graphs for:
    • All prism requests from the authfe
    • Distributor requests
    • Ingester requests
  • Add collapsed versions of the distributor & ingester requests (i.e. QPS & latency graphs) broken down by read (i.e. GET) and write (anything else)

Fixes #904.

@tomwilkie
Copy link

@jml needs a rebase. Will review in the mean time.

histogram_quantile(0.95, sum(rate(scope_request_duration_seconds_bucket{ws="false",job="default/authfe",route!~"(admin|metrics).*"}[5m])) by (le, route))
route:scope_authfe_request_duration_seconds:50quantile =
histogram_quantile(0.5, sum(rate(scope_request_duration_seconds_bucket{ws="false",job="default/authfe",route!~"(admin|metrics).*"}[5m])) by (le, route))

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

"targets": [
{
"expr": "sum(irate(scope_request_duration_seconds_count{job=\"default/authfe\",status_code =~ \"1..\",route=~\"api_prom.*\"}[1m]))",
"intervalFactor": 2,

This comment was marked as abuse.

This comment was marked as abuse.

@tomwilkie
Copy link

Pretty impossible to review this dashboards; we should start using jsonnet to generate them. Will file an issue for this.

LGTM otherwise - one nit about one of the recording rules.

@jml jml merged commit b526af0 into master Oct 25, 2016
@jml jml deleted the 904-red-prism-joke branch October 25, 2016 10:36
@jml jml restored the 904-red-prism-joke branch October 25, 2016 10:36
@jml jml deleted the 904-red-prism-joke branch October 25, 2016 10:47
jml added a commit that referenced this pull request Oct 25, 2016
jml added a commit that referenced this pull request Oct 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants