Skip to content

Commit

Permalink
Update kubelet_scrape_config example (#1464)
Browse files Browse the repository at this point in the history
* update kubelet_scrape_config example

* urgh

* version bump

---------

Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
  • Loading branch information
jaronoff97 and TylerHelmuth authored Dec 17, 2024
1 parent ffcb619 commit 8588223
Show file tree
Hide file tree
Showing 19 changed files with 61 additions and 61 deletions.
2 changes: 1 addition & 1 deletion charts/opentelemetry-kube-stack/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: opentelemetry-kube-stack
version: 0.3.8
version: 0.3.9
description: |
OpenTelemetry Quickstart chart for Kubernetes.
Installs an operator and collector for an easy way to get started with Kubernetes observability.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: OpAMPBridge
metadata:
name: example
labels:
helm.sh/chart: opentelemetry-kube-stack-0.3.8
helm.sh/chart: opentelemetry-kube-stack-0.3.9
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: example-cluster-stats
namespace: default
labels:
helm.sh/chart: opentelemetry-kube-stack-0.3.8
helm.sh/chart: opentelemetry-kube-stack-0.3.9
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
Expand Down Expand Up @@ -187,7 +187,7 @@ metadata:
name: example-daemon
namespace: default
labels:
helm.sh/chart: opentelemetry-kube-stack-0.3.8
helm.sh/chart: opentelemetry-kube-stack-0.3.9
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ spec:
- -c
- |
kubectl delete instrumentations,opampbridges,opentelemetrycollectors \
-l helm.sh/chart=opentelemetry-kube-stack-0.3.8
-l helm.sh/chart=opentelemetry-kube-stack-0.3.9
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ kind: Instrumentation
metadata:
name: example
labels:
helm.sh/chart: opentelemetry-kube-stack-0.3.8
helm.sh/chart: opentelemetry-kube-stack-0.3.9
app.kubernetes.io/version: "0.107.0"
app.kubernetes.io/managed-by: Helm
release: "example"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
relabel_configs:
- action: replace
regex: "(.*)"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- job
Expand All @@ -25,7 +25,7 @@
target_label: job
- action: replace
regex: "(.*)"
replacement: "${1}"
replacement: "$$1"
separator: ";"
source_labels:
- __meta_kubernetes_node_name
Expand All @@ -37,22 +37,22 @@
target_label: endpoint
- action: replace
regex: "(.*)"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __metrics_path__
target_label: metrics_path
- action: hashmod
modulus: 1
regex: "(.*)"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __address__
target_label: __tmp_hash
- action: keep
regex: "$(SHARD)"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __tmp_hash
Expand Down Expand Up @@ -81,37 +81,37 @@
metric_relabel_configs:
- action: drop
regex: container_cpu_(cfs_throttled_seconds_total|load_average_10s|system_seconds_total|user_seconds_total)
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __name__
- action: drop
regex: container_fs_(io_current|io_time_seconds_total|io_time_weighted_seconds_total|reads_merged_total|sector_reads_total|sector_writes_total|writes_merged_total)
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __name__
- action: drop
regex: container_memory_(mapped_file|swap)
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __name__
- action: drop
regex: container_(file_descriptors|tasks_state|threads_max)
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __name__
- action: drop
regex: container_spec.*
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __name__
- action: drop
regex: ".+;"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- id
Expand All @@ -120,7 +120,7 @@
relabel_configs:
- action: replace
regex: "(.*)"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- job
Expand All @@ -130,7 +130,7 @@
target_label: job
- action: replace
regex: "(.*)"
replacement: "${1}"
replacement: "$$1"
separator: ";"
source_labels:
- __meta_kubernetes_node_name
Expand All @@ -142,22 +142,22 @@
target_label: endpoint
- action: replace
regex: "(.*)"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __metrics_path__
target_label: metrics_path
- action: hashmod
modulus: 1
regex: "(.*)"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __address__
target_label: __tmp_hash
- action: keep
regex: "$(SHARD)"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __tmp_hash
Expand Down Expand Up @@ -189,7 +189,7 @@
relabel_configs:
- action: replace
regex: "(.*)"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- job
Expand All @@ -199,7 +199,7 @@
target_label: job
- action: replace
regex: "(.*)"
replacement: "${1}"
replacement: "$$1"
separator: ";"
source_labels:
- __meta_kubernetes_node_name
Expand All @@ -211,22 +211,22 @@
target_label: endpoint
- action: replace
regex: "(.*)"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __metrics_path__
target_label: metrics_path
- action: hashmod
modulus: 1
regex: "(.*)"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __address__
target_label: __tmp_hash
- action: keep
regex: "$(SHARD)"
replacement: "$1"
replacement: "$$1"
separator: ";"
source_labels:
- __tmp_hash
Expand Down
Loading

0 comments on commit 8588223

Please sign in to comment.