-
Notifications
You must be signed in to change notification settings - Fork 49
Multiple fixes for dashboards #40
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, just clean up the redundant {}
.
misc/worker-service-specific.json
Outdated
@@ -80,7 +80,7 @@ | |||
"targets": [ | |||
{ | |||
"exemplar": true, | |||
"expr": "(sum without (instance, pod) (started{cluster=\"$cluster\"})) - (sum without (instance, pod) (stopped{cluster=\"$cluster\"} or started{cluster=\"$cluster\"}*0))", | |||
"expr": "(sum without (instance, pod) (started{})) - (sum without (instance, pod) (stopped{} or started{}*0))", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"expr": "(sum without (instance, pod) (started{})) - (sum without (instance, pod) (stopped{} or started{}*0))", | |
"expr": "(sum without (instance, pod) (started)) - (sum without (instance, pod) (stopped or started*0))", |
misc/worker-service-specific.json
Outdated
@@ -200,7 +200,7 @@ | |||
"targets": [ | |||
{ | |||
"exemplar": true, | |||
"expr": "sum without (instance, pod) (rate(executor_done{cluster=\"$cluster\"}[1m]))", | |||
"expr": "sum without (instance, pod) (rate(executor_done{}[1m]))", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"expr": "sum without (instance, pod) (rate(executor_done{}[1m]))", | |
"expr": "sum without (instance, pod) (rate(executor_done[1m]))", |
misc/worker-service-specific.json
Outdated
@@ -282,7 +282,7 @@ | |||
"targets": [ | |||
{ | |||
"exemplar": true, | |||
"expr": "sum without (instance, pod) (rate(executor_dropped{cluster=\"$cluster\"}[1m]))", | |||
"expr": "sum without (instance, pod) (rate(executor_dropped{}[1m]))", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"expr": "sum without (instance, pod) (rate(executor_dropped{}[1m]))", | |
"expr": "sum without (instance, pod) (rate(executor_dropped[1m]))", |
misc/worker-service-specific.json
Outdated
@@ -364,7 +364,7 @@ | |||
"targets": [ | |||
{ | |||
"exemplar": true, | |||
"expr": "sum without (instance, pod) (rate(executor_err{cluster=\"$cluster\"}[1m]))", | |||
"expr": "sum without (instance, pod) (rate(executor_err{}[1m]))", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"expr": "sum without (instance, pod) (rate(executor_err{}[1m]))", | |
"expr": "sum without (instance, pod) (rate(executor_err[1m]))", |
misc/worker-service-specific.json
Outdated
@@ -446,7 +446,7 @@ | |||
"targets": [ | |||
{ | |||
"exemplar": true, | |||
"expr": "sum without (instance, pod) (rate(executor_deferred{cluster=\"$cluster\"}[1m]))", | |||
"expr": "sum without (instance, pod) (rate(executor_deferred{}[1m]))", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"expr": "sum without (instance, pod) (rate(executor_deferred{}[1m]))", | |
"expr": "sum without (instance, pod) (rate(executor_deferred[1m]))", |
misc/worker-service-specific.json
Outdated
@@ -2035,7 +2035,7 @@ | |||
"targets": [ | |||
{ | |||
"exemplar": true, | |||
"expr": "sum without (instance, pod)(rate(replicator_dlq_enqueue_fails{cluster=\"$cluster\"}[1m]))", | |||
"expr": "sum without (instance, pod)(rate(replicator_dlq_enqueue_fails{}[1m]))", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"expr": "sum without (instance, pod)(rate(replicator_dlq_enqueue_fails{}[1m]))", | |
"expr": "sum without (instance, pod)(rate(replicator_dlq_enqueue_fails[1m]))", |
misc/worker-service-specific.json
Outdated
@@ -2117,7 +2117,7 @@ | |||
"targets": [ | |||
{ | |||
"exemplar": true, | |||
"expr": "sum without (instance, pod)(rate(replicator_messages{cluster=\"$cluster\"}[1m]))", | |||
"expr": "sum without (instance, pod)(rate(replicator_messages{}[1m]))", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"expr": "sum without (instance, pod)(rate(replicator_messages{}[1m]))", | |
"expr": "sum without (instance, pod)(rate(replicator_messages[1m]))", |
misc/worker-service-specific.json
Outdated
@@ -2198,15 +2198,15 @@ | |||
"targets": [ | |||
{ | |||
"exemplar": true, | |||
"expr": "sum without (instance, pod)(rate(replicator_messages_dropped{cluster=\"$cluster\"}[1m]))", | |||
"expr": "sum without (instance, pod)(rate(replicator_messages_dropped{}[1m]))", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"expr": "sum without (instance, pod)(rate(replicator_messages_dropped{}[1m]))", | |
"expr": "sum without (instance, pod)(rate(replicator_messages_dropped[1m]))", |
misc/worker-service-specific.json
Outdated
"hide": false, | ||
"interval": "", | ||
"legendFormat": "{{operation}}", | ||
"refId": "D" | ||
}, | ||
{ | ||
"exemplar": true, | ||
"expr": "sum without (instance, pod)(rate(replicator_dlq_enqueue_fails{cluster=\"$cluster\"}[1m]))", | ||
"expr": "sum without (instance, pod)(rate(replicator_dlq_enqueue_fails{}[1m]))", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"expr": "sum without (instance, pod)(rate(replicator_dlq_enqueue_fails{}[1m]))", | |
"expr": "sum without (instance, pod)(rate(replicator_dlq_enqueue_fails[1m]))", |
misc/worker-service-specific.json
Outdated
@@ -2288,7 +2288,7 @@ | |||
"targets": [ | |||
{ | |||
"exemplar": true, | |||
"expr": "sum without (instance, pod)(rate(replicator_errors{cluster=\"$cluster\"}[1m]))", | |||
"expr": "sum without (instance, pod)(rate(replicator_errors{}[1m]))", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"expr": "sum without (instance, pod)(rate(replicator_errors{}[1m]))", | |
"expr": "sum without (instance, pod)(rate(replicator_errors[1m]))", |
What was changed
Several changes to fix problems using dashboards with recent server versions. You might want to review each commit individually, and I can remove ones that we don't want.
type
tag withservice_name
: Most panels didn't work without this change.Why?
make things work better
Checklist
Closes
How was this tested:
Tested with local server+prometheus+grafana (
make start-dependencies
in temporal repo) after fixing the path (will send a PR there after this is merged)Any docs updates needed?