Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
b110a5d6
Commit
b110a5d6
authored
3 years ago
by
Simon Ehrenstein
Browse files
Options
Downloads
Patches
Plain Diff
Start to replace metrics
parent
1bc1b3f4
No related branches found
No related tags found
1 merge request
!243
Migrate to Strimzi Kafka
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helm/templates/grafana/dashboard-config-map.yaml
+3
-3
3 additions, 3 deletions
helm/templates/grafana/dashboard-config-map.yaml
helm/templates/strimzi/kafka-podmonitor.yaml
+0
-29
0 additions, 29 deletions
helm/templates/strimzi/kafka-podmonitor.yaml
with
3 additions
and
32 deletions
helm/templates/grafana/dashboard-config-map.yaml
+
3
−
3
View file @
b110a5d6
...
...
@@ -71,7 +71,7 @@ data:
"steppedLine": false,
"targets": [
{
"expr": "sum(
cp_
kafka_server_brokertopicmetrics_messagesin
persec_
topic
_
input)",
"expr": "sum(kafka_server_brokertopicmetrics_messagesin
_total{
topic
='
input
'}
)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{Messages In Per Second}}",
...
...
@@ -162,7 +162,7 @@ data:
"steppedLine": false,
"targets": [
{
"expr": "sum(
cp_
kafka_server_brokertopicmetrics_messagesin
persec_
topic
_
output)",
"expr": "sum(kafka_server_brokertopicmetrics_messagesin
_total{
topic
='
output
'}
)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{Messages Out Per Second}}",
...
...
@@ -253,7 +253,7 @@ data:
"steppedLine": false,
"targets": [
{
"expr": "sum by(group, topic) (kafka_consumergroup_
group_
lag >= 0)",
"expr": "sum by(group, topic) (kafka_consumergroup_lag >= 0)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{topic}}",
...
...
This diff is collapsed.
Click to expand it.
helm/templates/strimzi/kafka-podmonitor.yaml
+
0
−
29
View file @
b110a5d6
...
...
@@ -15,32 +15,3 @@ spec:
podMetricsEndpoints
:
-
path
:
/metrics
port
:
tcp-prometheus
relabelings
:
-
separator
:
;
regex
:
__meta_kubernetes_pod_label_(strimzi_io_.+)
replacement
:
$1
action
:
labelmap
-
sourceLabels
:
[
__meta_kubernetes_namespace
]
separator
:
;
regex
:
(.*)
targetLabel
:
namespace
replacement
:
$1
action
:
replace
-
sourceLabels
:
[
__meta_kubernetes_pod_name
]
separator
:
;
regex
:
(.*)
targetLabel
:
kubernetes_pod_name
replacement
:
$1
action
:
replace
-
sourceLabels
:
[
__meta_kubernetes_pod_node_name
]
separator
:
;
regex
:
(.*)
targetLabel
:
node_name
replacement
:
$1
action
:
replace
-
sourceLabels
:
[
__meta_kubernetes_pod_host_ip
]
separator
:
;
regex
:
(.*)
targetLabel
:
node_ip
replacement
:
$1
action
:
replace
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment