Tinyhorns
10/16/2024, 3:00 PMVishal Sharma
10/17/2024, 4:52 AMVishal Sharma
10/17/2024, 4:52 AMTinyhorns
10/17/2024, 6:07 AMOpen the deploy/docker/clickhouse-setup/otel-collector-config.yaml file in a plain-text editor.
I deploy using your helm-charts.Vishal Sharma
10/17/2024, 12:48 PMTinyhorns
10/17/2024, 12:48 PMTinyhorns
10/17/2024, 12:49 PMhelm list -n platform
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
k8s-infra platform 2 2024-10-01 10:00:43.699859475 +0000 UTC deployed k8s-infra-0.11.12 0.109.0
signoz platform 2 2024-10-01 09:56:38.480568732 +0000 UTC deployed signoz-0.53.1 0.55.0
Vishal Sharma
10/17/2024, 12:51 PM# -- Configurations for OtelAgent
Vishal Sharma
10/17/2024, 12:51 PMVishal Sharma
10/17/2024, 12:52 PMPrashant Shahi
10/17/2024, 8:16 PMotelDeployment:
config:
receivers:
prometheus/scraper:
config:
scrape_configs:
- job_name: "otel-deployment"
scrape_interval: 60s
kubernetes_sd_configs:
- role: pod
relabel_configs:
- source_labels: [__meta_kubernetes_pod_annotation_signoz_io_scrape]
action: keep
regex: true
- source_labels: [__meta_kubernetes_pod_annotation_signoz_io_path]
action: replace
target_label: __metrics_path__
regex: (.+)
- source_labels: [__meta_kubernetes_pod_ip, __meta_kubernetes_pod_annotation_signoz_io_port]
action: replace
separator: ":"
target_label: __address__
- target_label: job_name
replacement: otel-deployment
- source_labels: [__meta_kubernetes_pod_label_app_kubernetes_io_name]
action: replace
target_label: signoz_k8s_name
- source_labels: [__meta_kubernetes_pod_label_app_kubernetes_io_instance]
action: replace
target_label: signoz_k8s_instance
- source_labels: [__meta_kubernetes_pod_label_app_kubernetes_io_component]
action: replace
target_label: signoz_k8s_component
- source_labels: [__meta_kubernetes_namespace]
action: replace
target_label: k8s_namespace_name
- source_labels: [__meta_kubernetes_pod_name]
action: replace
target_label: k8s_pod_name
- source_labels: [__meta_kubernetes_pod_uid]
action: replace
target_label: k8s_pod_uid
- source_labels: [__meta_kubernetes_pod_node_name]
action: replace
target_label: k8s_node_name
- source_labels: [__meta_kubernetes_pod_ready]
action: replace
target_label: k8s_pod_ready
- source_labels: [__meta_kubernetes_pod_phase]
action: replace
target_label: k8s_pod_phase
service:
pipelines:
metrics/internal:
receivers: [prometheus/scraper]
To use Prometheus scraper annotations, replace signoz_io
with prometheus_io
from relabel_configs
section.Tinyhorns
10/18/2024, 6:15 AMSigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.
Powered by