Skip to content

Commit

Permalink
Prepare for 0.41.0-rc3
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Scholz <[email protected]>
  • Loading branch information
scholzj committed May 10, 2024
1 parent 0ba2c5a commit 12cff8d
Show file tree
Hide file tree
Showing 7 changed files with 314 additions and 56 deletions.
4 changes: 2 additions & 2 deletions .checksums
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# if this checksum has changed as part of any non-release specific changes, please apply your changes to the
# development version of the helm charts in ./packaging/helm-charts
### IMPORTANT ###
HELM_CHART_CHECKSUM="e58351b2cfc36c880ae103090f1df97dfed1451e -"
HELM_CHART_CHECKSUM="f029e1dd81b5391a8684a6f555a48f7bef12033e -"

### IMPORTANT ###
# if the below line has changed, this means the ./install directory has changed
Expand All @@ -22,4 +22,4 @@ INSTALL_CHECKSUM="14e11d5c21ef74c34ddd1ea72e1d94d8265a2ff1 -"
# if this checksum has changed as part of any non-release specific changes, please apply your changes to the
# development version of the helm charts in ./packaging/examples
### IMPORTANT ###
EXAMPLES_CHECKSUM="0a06981d67d8211332966958ea4bc41abf57876b -"
EXAMPLES_CHECKSUM="73840e1a54d89ad2135ba0ff24af7a29dd5c4822 -"
Original file line number Diff line number Diff line change
Expand Up @@ -1570,7 +1570,13 @@
"useTags": false
},
{
"current": {},
"allValue": ".*",
"current": {
"text": "All",
"value": [
"$__all"
]
},
"datasource": "${DS_PROMETHEUS}",
"definition": "label_values(kafka_topic_partition_current_offset{namespace=\"$kubernetes_namespace\",strimzi_io_cluster=\"$strimzi_cluster_name\"}, topic)",
"hide": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"expr": "sum(kafka_connect_connector_task_offset_commit_avg_time_ms{connector=~\"\\\".*SourceConnector\\\"\", task=~\"[0-9]+\", clusterName=~\"$OPENSHIFT_CLUSTER\"})/count(kafka_connect_connector_task_offset_commit_avg_time_ms{connector=~\"\\\".*SourceConnector\\\"\", task=~\"[0-9]+\", clusterName=~\"$OPENSHIFT_CLUSTER\"})",
"expr": "sum(kafka_connect_connector_task_offset_commit_avg_time_ms{connector=~\"\\\".*SourceConnector\\\"\", task=~\"[0-9]+\"})/count(kafka_connect_connector_task_offset_commit_avg_time_ms{connector=~\"\\\".*SourceConnector\\\"\", task=~\"[0-9]+\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
Expand Down Expand Up @@ -979,7 +979,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": false,
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_record_age_ms{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (partition, topic)",
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_record_age_ms{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (partition, topic)",
"format": "table",
"instant": true,
"interval": "",
Expand All @@ -989,7 +989,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": true,
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_record_age_ms_avg{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (partition, topic)",
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_record_age_ms_avg{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (partition, topic)",
"format": "table",
"hide": false,
"instant": true,
Expand All @@ -1000,7 +1000,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": true,
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_record_age_ms_min{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (partition, topic)",
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_record_age_ms_min{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (partition, topic)",
"format": "table",
"hide": false,
"instant": true,
Expand All @@ -1011,7 +1011,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": true,
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_record_age_ms_max{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (partition, topic)",
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_record_age_ms_max{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (partition, topic)",
"format": "table",
"hide": false,
"instant": true,
Expand Down Expand Up @@ -1211,7 +1211,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": false,
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_replication_latency_ms{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (partition, topic)",
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_replication_latency_ms{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (partition, topic)",
"format": "table",
"instant": true,
"interval": "",
Expand All @@ -1221,7 +1221,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": true,
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_replication_latency_ms_avg{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (partition, topic)",
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_replication_latency_ms_avg{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (partition, topic)",
"format": "table",
"hide": false,
"instant": true,
Expand All @@ -1232,7 +1232,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": true,
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_replication_latency_ms_min{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (partition, topic)",
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_replication_latency_ms_min{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (partition, topic)",
"format": "table",
"hide": false,
"instant": true,
Expand All @@ -1243,7 +1243,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": true,
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_replication_latency_ms_max{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (partition, topic)",
"expr": "sum(kafka_connect_mirror_mirrorsourceconnector_replication_latency_ms_max{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (partition, topic)",
"format": "table",
"hide": false,
"instant": true,
Expand Down Expand Up @@ -1455,7 +1455,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": false,
"expr": "sum(kafka_connect_mirror_mirrorcheckpointconnector_checkpoint_latency_ms{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (source, target)",
"expr": "sum(kafka_connect_mirror_mirrorcheckpointconnector_checkpoint_latency_ms{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (source, target)",
"format": "table",
"instant": true,
"interval": "",
Expand All @@ -1465,7 +1465,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": true,
"expr": "sum(kafka_connect_mirror_mirrorcheckpointconnector_checkpoint_latency_ms_avg{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (source, target)",
"expr": "sum(kafka_connect_mirror_mirrorcheckpointconnector_checkpoint_latency_ms_avg{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (source, target)",
"format": "table",
"hide": false,
"instant": true,
Expand All @@ -1476,7 +1476,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": true,
"expr": "sum(kafka_connect_mirror_mirrorcheckpointconnector_checkpoint_latency_ms_min{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (source, target)",
"expr": "sum(kafka_connect_mirror_mirrorcheckpointconnector_checkpoint_latency_ms_min{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (source, target)",
"format": "table",
"hide": false,
"instant": true,
Expand All @@ -1487,7 +1487,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": true,
"expr": "sum(kafka_connect_mirror_mirrorcheckpointconnector_checkpoint_latency_ms_max{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (source, target)",
"expr": "sum(kafka_connect_mirror_mirrorcheckpointconnector_checkpoint_latency_ms_max{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (source, target)",
"format": "table",
"hide": false,
"instant": true,
Expand Down Expand Up @@ -1622,7 +1622,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": true,
"expr": "sum(kafka_consumer_fetch_manager_records_lag{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\",clientid!~\"consumer-mirrormaker2-.*\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (topic, partition)",
"expr": "sum(kafka_consumer_fetch_manager_records_lag{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\",clientid!~\"consumer-mirrormaker2-.*\"}) by (topic, partition)",
"interval": "",
"legendFormat": "{{topic}} (partition: {{partition}})",
"refId": "A"
Expand Down Expand Up @@ -1687,7 +1687,7 @@
{
"datasource": "${DS_PROMETHEUS}",
"exemplar": true,
"expr": "sum(kafka_consumer_fetch_manager_records_lag{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\",clientid!~\"consumer-mirrormaker2-.*\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (partition, topic)",
"expr": "sum(kafka_consumer_fetch_manager_records_lag{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\",clientid!~\"consumer-mirrormaker2-.*\"}) by (partition, topic)",
"format": "table",
"instant": true,
"interval": "",
Expand Down Expand Up @@ -1787,7 +1787,7 @@
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"expr": "sum(kafka_connect_coordinator_assigned_connectors{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (kubernetes_pod_name)",
"expr": "sum(kafka_connect_coordinator_assigned_connectors{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (kubernetes_pod_name)",
"format": "time_series",
"instant": false,
"interval": "",
Expand Down Expand Up @@ -1881,7 +1881,7 @@
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"expr": "sum(kafka_connect_worker_rebalance_rebalancing{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"})",
"expr": "sum(kafka_connect_worker_rebalance_rebalancing{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"})",
"interval": "",
"legendFormat": "",
"refId": "A"
Expand Down Expand Up @@ -1940,7 +1940,7 @@
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"expr": "sum(kafka_connect_coordinator_assigned_tasks{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (kubernetes_pod_name)",
"expr": "sum(kafka_connect_coordinator_assigned_tasks{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (kubernetes_pod_name)",
"interval": "",
"legendFormat": "{{kubernetes_pod_name}}",
"refId": "A"
Expand Down Expand Up @@ -2051,7 +2051,7 @@
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"$kubernetes_namespace\",pod=~\"$strimzi_mirror_maker_cluster_name-mirrormaker2-.+\",container=\"$strimzi_mirror_maker_cluster_name-mirrormaker2\", clusterName=~\"$OPENSHIFT_CLUSTER\"}[5m])) by (pod)",
"expr": "sum(rate(container_cpu_usage_seconds_total{namespace=\"$kubernetes_namespace\",pod=~\"$strimzi_mirror_maker_cluster_name-mirrormaker2-.+\",container=\"$strimzi_mirror_maker_cluster_name-mirrormaker2\"}[5m])) by (pod)",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
Expand Down Expand Up @@ -2146,7 +2146,7 @@
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"expr": "sum(jvm_memory_bytes_used{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (kubernetes_pod_name)",
"expr": "sum(jvm_memory_bytes_used{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (kubernetes_pod_name)",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
Expand Down Expand Up @@ -2243,7 +2243,7 @@
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"expr": "sum(rate(jvm_gc_collection_seconds_sum{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}[5m])) by (kubernetes_pod_name)",
"expr": "sum(rate(jvm_gc_collection_seconds_sum{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}[5m])) by (kubernetes_pod_name)",
"format": "time_series",
"hide": false,
"interval": "",
Expand Down Expand Up @@ -2340,7 +2340,7 @@
"targets": [
{
"datasource": "${DS_PROMETHEUS}",
"expr": "sum(jvm_threads_current{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\", clusterName=~\"$OPENSHIFT_CLUSTER\"}) by (kubernetes_pod_name)",
"expr": "sum(jvm_threads_current{strimzi_io_kind=~\"KafkaMirrorMaker2\",strimzi_io_cluster=\"$strimzi_mirror_maker_cluster_name\"}) by (kubernetes_pod_name)",
"instant": false,
"interval": "",
"legendFormat": "{{kubernetes_pod_name}}",
Expand Down
131 changes: 127 additions & 4 deletions examples/metrics/grafana-dashboards/strimzi-operators.json
Original file line number Diff line number Diff line change
Expand Up @@ -1292,6 +1292,129 @@
"title": "Maximum reconciliation time",
"type": "timeseries"
},
{
"collapsed": false,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 24
},
"id": 59,
"panels": [],
"title": "Certificates",
"type": "row"
},
{
"datasource": "$DS_PROMETHEUS",
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": true
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "string"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Expiry Time"
},
"properties": [
{
"id": "unit",
"value": "dateTimeAsIso"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Time To Expiry"
},
"properties": [
{
"id": "unit",
"value": "dateTimeFromNow"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 25
},
"id": 57,
"options": {
"showHeader": true
},
"pluginVersion": "7.4.5",
"targets": [
{
"expr": "sort (min by (cluster, type, resource_namespace) (strimzi_certificate_expiration_timestamp_ms))",
"format": "table",
"instant": true,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Cert Expiry",
"transformations": [
{
"id": "calculateField",
"options": {
"alias": "time_to_expiry",
"mode": "reduceRow",
"reduce": {
"reducer": "last"
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true
},
"indexByName": {
"Time": 0,
"Value": 4,
"cluster": 1,
"resource_namespace": 2,
"time_to_expiry": 5,
"type": 3
},
"renameByName": {
"Value": "Expiry Time",
"cluster": "Cluster Name",
"resource_namespace": "Namespace",
"time_to_expiry": "Time To Expiry",
"type": "Type"
}
}
}
],
"type": "table"
},

{
"collapsed": false,
"datasource": {
Expand All @@ -1302,7 +1425,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 24
"y": 33
},
"id": 18,
"panels": [],
Expand Down Expand Up @@ -1380,7 +1503,7 @@
"h": 7,
"w": 8,
"x": 0,
"y": 25
"y": 34
},
"id": 20,
"options": {
Expand Down Expand Up @@ -1471,7 +1594,7 @@
"h": 7,
"w": 8,
"x": 8,
"y": 25
"y": 34
},
"id": 21,
"options": {
Expand Down Expand Up @@ -1562,7 +1685,7 @@
"h": 7,
"w": 8,
"x": 16,
"y": 25
"y": 34
},
"id": 22,
"options": {
Expand Down
Loading

0 comments on commit 12cff8d

Please sign in to comment.