Skip to content

Commit

Permalink
coroot v0.25.0 + Prometheus SD for Fargate's cadvisors
Browse files Browse the repository at this point in the history
  • Loading branch information
def committed Dec 4, 2023
1 parent f73a905 commit 54ac75d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/coroot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: coroot
description: A monitoring and troubleshooting tool for microservice architectures.
type: application
version: 0.6.1
appVersion: "0.24.0"
version: 0.7.0
appVersion: "0.25.0"
dependencies:
- name: prometheus
repository: https://prometheus-community.github.io/helm-charts
Expand Down
21 changes: 21 additions & 0 deletions charts/coroot/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,27 @@ prometheus:
- source_labels: [__meta_kubernetes_pod_phase]
regex: Pending|Succeeded|Failed|Completed
action: drop
- job_name: 'kubernetes-fargate-cadvisor'
scheme: https
tls_config:
ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
insecure_skip_verify: true
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
kubernetes_sd_configs:
- role: node
relabel_configs:
- action: labelmap
regex: __meta_kubernetes_node_label_(.+)
- target_label: __address__
replacement: kubernetes.default.svc:443
- source_labels: [ __meta_kubernetes_node_name ]
action: keep
regex: (fargate-.+)
- source_labels: [ __meta_kubernetes_node_name ]
regex: (.+)
target_label: __metrics_path__
replacement: /api/v1/nodes/$1/proxy/metrics/cadvisor


existingPrometheus:
enabled: false
Expand Down

0 comments on commit 54ac75d

Please sign in to comment.