Skip to content

Commit

Permalink
Merge pull request #32 from nfrigus/main
Browse files Browse the repository at this point in the history
SRE-41 Fix cadvisor metrics processing
  • Loading branch information
d7561985 authored Oct 13, 2023
2 parents 1a0aeb1 + 79216ae commit 8071140
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.1.1
version: 1.1.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 3 additions & 3 deletions charts/agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -510,14 +510,14 @@ prometheus:
target_label: __address__
- regex: (.+)
replacement: /api/v1/nodes/$$1/proxy/metrics/cadvisor
source_labels: [__meta_kubernetes_pod_node_name]
source_labels: [__meta_kubernetes_node_name]
target_label: __metrics_path__
# Add lables
- action: labelmap
regex: __meta_kubernetes_pod_label_(.+)
- source_labels: [__meta_kubernetes_pod_node_name]
- source_labels: [__meta_kubernetes_node_name]
target_label: node
- source_labels: [__meta_kubernetes_pod_node_name]
- source_labels: [__meta_kubernetes_node_name]
target_label: nodename
- action: replace
replacement: cadvisor
Expand Down

0 comments on commit 8071140

Please sign in to comment.