Skip to content

Commit

Permalink
#72 - Change to __rate_interval
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo F committed Mar 3, 2021
1 parent a154f92 commit 8182f69
Show file tree
Hide file tree
Showing 5 changed files with 436 additions and 436 deletions.
44 changes: 22 additions & 22 deletions prometheus/bind9-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@
"steppedLine": false,
"targets": [
{
"expr": "sum (irate(bind_incoming_queries_total{instance=~\"$host:$port\"}[5m]))",
"expr": "sum (rate(bind_incoming_queries_total{instance=~\"$host:$port\"}[$__rate_interval]))",
"interval": "",
"legendFormat": "Incoming",
"refId": "A"
},
{
"expr": "sum (irate(bind_resolver_queries_total{instance=~\"$host:$port\"}[5m]))",
"expr": "sum (rate(bind_resolver_queries_total{instance=~\"$host:$port\"}[$__rate_interval]))",
"interval": "",
"legendFormat": "Outgoing",
"refId": "B"
Expand Down Expand Up @@ -220,7 +220,7 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_incoming_queries_total{instance=~\"$host:$port\"}[5m])",
"expr": "rate(bind_incoming_queries_total{instance=~\"$host:$port\"}[$__rate_interval])",
"interval": "",
"legendFormat": "{{ type }}",
"refId": "A"
Expand Down Expand Up @@ -313,7 +313,7 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_resolver_queries_total{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_queries_total{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "{{ type }} {{ view }}",
"refId": "A"
Expand Down Expand Up @@ -406,7 +406,7 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_incoming_requests_total{instance=~\"$host:$port\"}[5m])",
"expr": "rate(bind_incoming_requests_total{instance=~\"$host:$port\"}[$__rate_interval])",
"interval": "",
"legendFormat": "{{ opcode }}",
"refId": "A"
Expand Down Expand Up @@ -507,7 +507,7 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_responses_total{instance=~\"$host:$port\"}[5m])",
"expr": "rate(bind_responses_total{instance=~\"$host:$port\"}[$__rate_interval])",
"interval": "",
"legendFormat": "{{ result }}",
"refId": "B"
Expand Down Expand Up @@ -787,7 +787,7 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_resolver_query_retries_total{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_query_retries_total{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "queries retry {{ view }} ",
"refId": "B"
Expand Down Expand Up @@ -880,19 +880,19 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_query_duplicates_total{instance=~\"$host:$port\"}[5m])",
"expr": "rate(bind_query_duplicates_total{instance=~\"$host:$port\"}[$__rate_interval])",
"interval": "",
"legendFormat": "Duplicated queries received",
"refId": "A"
},
{
"expr": "irate(bind_query_errors_total{instance=~\"$host:$port\"}[5m])",
"expr": "rate(bind_query_errors_total{instance=~\"$host:$port\"}[$__rate_interval])",
"interval": "",
"legendFormat": "{{ error }} queries",
"refId": "B"
},
{
"expr": "irate(bind_query_recursions_total{instance=~\"$host:$port\"}[5m])",
"expr": "rate(bind_query_recursions_total{instance=~\"$host:$port\"}[$__rate_interval])",
"interval": "",
"legendFormat": "Queries causing recursionries received",
"refId": "C"
Expand Down Expand Up @@ -987,7 +987,7 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_resolver_response_errors_total{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_response_errors_total{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "{{ error }} {{ view }}",
"refId": "B"
Expand Down Expand Up @@ -1082,13 +1082,13 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_resolver_query_errors_total{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_query_errors_total{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "{{ error }} {{ view }}",
"refId": "B"
},
{
"expr": "irate(bind_resolver_query_edns0_errors_total{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_query_edns0_errors_total{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "EDNS(0) error {{ view }}",
"refId": "A"
Expand Down Expand Up @@ -1198,7 +1198,7 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_resolver_query_duration_seconds_bucket{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_query_duration_seconds_bucket{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "{{ le }} round-trip {{ view }}",
"refId": "B"
Expand Down Expand Up @@ -1293,13 +1293,13 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_resolver_query_duration_seconds_count{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_query_duration_seconds_count{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "count {{ view }} ",
"refId": "A"
},
{
"expr": "irate(bind_resolver_query_duration_seconds_sum{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_query_duration_seconds_sum{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "sum {{ view }}",
"refId": "B"
Expand Down Expand Up @@ -1394,7 +1394,7 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_resolver_cache_rrsets{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_cache_rrsets{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "{{ type }} {{ view }}",
"refId": "A"
Expand Down Expand Up @@ -1489,19 +1489,19 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_resolver_response_truncated_total{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_response_truncated_total{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "truncated {{ view }}",
"refId": "B"
},
{
"expr": "irate(bind_resolver_response_mismatch_total{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_response_mismatch_total{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "mismatch {{ view }}",
"refId": "A"
},
{
"expr": "irate(bind_resolver_response_lame_total{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_response_lame_total{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "lame {{ view }}",
"refId": "C"
Expand Down Expand Up @@ -1618,13 +1618,13 @@
"steppedLine": false,
"targets": [
{
"expr": "irate(bind_resolver_dnssec_validation_errors_total{instance=~\"$host:$port\",view=~\"$view\"}[5m])",
"expr": "rate(bind_resolver_dnssec_validation_errors_total{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval])",
"interval": "",
"legendFormat": "Errors {{ view }}",
"refId": "B"
},
{
"expr": "sum by (instance, view)(irate(bind_resolver_dnssec_validation_success_total{instance=~\"$host:$port\",view=~\"$view\"}[5m]))",
"expr": "sum by (instance, view)(rate(bind_resolver_dnssec_validation_success_total{instance=~\"$host:$port\",view=~\"$view\"}[$__rate_interval]))",
"interval": "",
"legendFormat": "Sucess {{ view }}",
"refId": "A"
Expand Down
Loading

0 comments on commit 8182f69

Please sign in to comment.