Skip to content

Commit

Permalink
agent: set lable cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
d7561985 committed Apr 26, 2023
1 parent 16bb7c1 commit 04b6c17
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@


## Agent
### 0.5.23-24,
### 0.5.23-25
* kubernetes-kubelet finally

### 0.5.17
Expand Down
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: 0.5.24
version: 0.5.25

# 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
3 changes: 3 additions & 0 deletions charts/agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ receivers:
regex: (.+)
target_label: __metrics_path__
replacement: /api/v1/nodes/$$1/proxy/metrics/resource
- action: replace
replacement: "{{ .Values.info.namespace }}/{{ .Values.info.license }}/{{ .Values.info.deployment_environment }}"
target_label: cluster
# search pods containing prometheus.io/scrape annotation
#
# example:
Expand Down

0 comments on commit 04b6c17

Please sign in to comment.