Mick
03/16/2025, 5:33 PMkubeletstats:
collection_interval: 30s
auth_type: "serviceAccount"
endpoint: "https://${KUBELET_NODE}:10250"
insecure_skip_verify: true
extra_metadata_labels:
- container.id
- k8s.volume.type
metric_groups:
- node
- container
- pod
- volume
Vibhu Pandey
03/16/2025, 5:48 PMMick
03/16/2025, 6:22 PMMick
03/16/2025, 6:23 PMHere is my helm values: signoz:
global:
enabled: true
k8s-infra:
enabled: true
otelCollector:
resources:
limits:
memory: "4Gi"
cpu: "4"
requests:
memory: "1Gi"
cpu: "500m"
serviceAccount:
create: true
name: "signoz-sandbox-otel-collector"
clusterRole:
create: true
name: "signoz-sandbox-otel-collector"
namespace: "signoz"
rules:
- apiGroups: [""]
resources: ["pods", "services", "replicationcontrollers", "namespaces", "nodes", "resourcequotas", "nodes/stats", "nodes/stats/summary" ,"nodes/metrics", "nodes/proxy", "nodes/spec"]
verbs: ["get", "list", "watch"]
- apiGroups: ["apps"]
resources: ["replicasets", "daemonsets", "statefulsets", "deployments"]
verbs: ["get", "list", "watch"]
- apiGroups: ["<http://metrics.k8s.io|metrics.k8s.io>"]
resources: ["nodes", "pods"]
verbs: ["get", "list", "watch"]
- apiGroups: ["batch"]
resources: ["jobs", "cronjobs"]
verbs: ["get", "list", "watch"]
- apiGroups: ["autoscaling"]
resources: ["horizontalpodautoscalers"]
verbs: ["get", "list", "watch"]
clusterRoleBinding:
create: true
roleRef:
apiGroup: <http://rbac.authorization.k8s.io|rbac.authorization.k8s.io>
kind: ClusterRole
name: "signoz-sandbox-otel-collector"
subjects:
- kind: ServiceAccount
name: "signoz-sandbox-otel-collector"
namespace: "signoz"
service:
type: ClusterIP
ports:
- name: http
port: 4317
targetPort: 4317
- name: http
port: 4318
targetPort: 4318
config:
receivers:
prometheus:
config:
scrape_configs:
- job_name: 'amper-pods-collector'
scrape_interval: 60s
kubernetes_sd_configs:
- role: pod
relabel_configs:
- source_labels: [__meta_kubernetes_pod_annotation_signoz_io_scrape]
action: keep
regex: true
- job_name: 'amper-nodes-collector'
scrape_interval: 60s
kubernetes_sd_configs:
- role: node
relabel_configs:
- source_labels: [__meta_kubernetes_node_label_kubernetes_io_hostname]
target_label: instance
- action: labelmap
regex: __meta_kubernetes_node_label_(.+)
- source_labels: [__meta_kubernetes_node_name]
target_label: kubernetes_node_name
otlp:
protocols:
grpc:
endpoint: "0.0.0.0:4317"
http:
endpoint: "0.0.0.0:4318"
k8s_cluster:
auth_type: "serviceAccount"
collection_interval: 30s
kubeletstats:
collection_interval: 30s
auth_type: "serviceAccount"
endpoint: "https://${KUBELET_NODE}:10250"
insecure_skip_verify: true
extra_metadata_labels:
- container.id
- k8s.volume.type
metric_groups:
- node
- container
- pod
- volume
processors:
batch:
timeout: 5s
send_batch_size: 10000
memory_limiter:
limit_mib: 4096
spike_limit_mib: 3072
check_interval: 1s
exporters:
logging:
loglevel: debug
otlp:
endpoint: "signoz-sandbox-otel-collector:4317"
tls:
insecure: true
compression: gzip
clickhousemetricswrite:
endpoint: "tcp://${env:CLICKHOUSE_USER}:${env:CLICKHOUSE_PASSWORD}@${env:CLICKHOUSE_HOST}:${env:CLICKHOUSE_PORT}/${env:CLICKHOUSE_DATABASE}"
resource_to_telemetry_conversion:
enabled: true
timeout: 15s
retry_on_failure:
enabled: true
initial_interval: 5s
max_interval: 30s
max_elapsed_time: 300s
metadataexporter:
dsn: tcp://${env:CLICKHOUSE_USER}:${env:CLICKHOUSE_PASSWORD}@${env:CLICKHOUSE_HOST}:${env:CLICKHOUSE_PORT}/signoz_metadata
timeout: 10s
tenant_id: ${env:TENANT_ID}
cache:
provider: in_memory
service:
pipelines:
metrics:
receivers: [prometheus, otlp, k8s_cluster, kubeletstats]
processors: [memory_limiter , batch]
exporters: [otlp, clickhousemetricswrite, metadataexporter]
telemetry:
logs:
level: debug
metrics:
level: detailed
address: ":8888"
Vibhu Pandey
03/16/2025, 6:24 PMMick
03/16/2025, 6:25 PMVibhu Pandey
03/16/2025, 6:27 PMMick
03/16/2025, 6:28 PMVibhu Pandey
03/16/2025, 6:29 PMMick
03/16/2025, 6:30 PMMick
03/16/2025, 6:31 PMMick
03/16/2025, 6:31 PMMick
03/16/2025, 6:31 PMVibhu Pandey
03/16/2025, 6:32 PMMick
03/16/2025, 6:35 PMMick
03/16/2025, 6:36 PMVibhu Pandey
03/16/2025, 6:36 PMMick
03/16/2025, 6:36 PMMick
03/16/2025, 6:36 PMVibhu Pandey
03/16/2025, 6:37 PMVibhu Pandey
03/16/2025, 6:37 PMMick
03/16/2025, 6:37 PMMick
03/16/2025, 6:38 PMVibhu Pandey
03/16/2025, 6:38 PMVibhu Pandey
03/16/2025, 6:39 PMglobal:
cloud: others
clusterName: <CLUSTER_NAME>
deploymentEnvironment: <DEPLOYMENT_ENVIRONMENT>
otelCollectorEndpoint: <IP-or-Endpoint-of-SigNoz-OtelCollector>:4317
otelInsecure: true
presets:
otlpExporter:
enabled: true
loggingExporter:
enabled: false
Vibhu Pandey
03/16/2025, 6:40 PMMick
03/16/2025, 6:40 PMVibhu Pandey
03/16/2025, 6:40 PMVibhu Pandey
03/16/2025, 6:41 PMMick
03/18/2025, 1:06 AMMick
03/18/2025, 1:07 AMMick
03/18/2025, 1:07 AMMick
03/20/2025, 2:39 PMMick
03/20/2025, 2:39 PMMick
03/20/2025, 2:40 PMMick
03/20/2025, 2:42 PMMick
03/20/2025, 2:43 PMMick
03/20/2025, 2:43 PM