forked from signalfx/splunk-otel-collector-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configmap-cluster-receiver.yaml
108 lines (108 loc) · 2.81 KB
/
configmap-cluster-receiver.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
# Source: splunk-otel-collector/templates/configmap-cluster-receiver.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: default-splunk-otel-collector-otel-k8s-cluster-receiver
labels:
app.kubernetes.io/name: splunk-otel-collector
helm.sh/chart: splunk-otel-collector-0.67.0
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/instance: default
app.kubernetes.io/version: "0.67.0"
app: splunk-otel-collector
chart: splunk-otel-collector-0.67.0
release: default
heritage: Helm
data:
relay: |
exporters:
signalfx:
access_token: ${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}
api_url: https://api.CHANGEME.signalfx.com
ingest_url: https://ingest.CHANGEME.signalfx.com
timeout: 10s
extensions:
health_check: null
memory_ballast:
size_mib: ${SPLUNK_BALLAST_SIZE_MIB}
processors:
batch: null
memory_limiter:
check_interval: 2s
limit_mib: ${SPLUNK_MEMORY_LIMIT_MIB}
resource:
attributes:
- action: insert
key: metric_source
value: kubernetes
- action: upsert
key: k8s.cluster.name
value: CHANGEME
resource/add_collector_k8s:
attributes:
- action: insert
key: k8s.node.name
value: ${K8S_NODE_NAME}
- action: insert
key: k8s.pod.name
value: ${K8S_POD_NAME}
- action: insert
key: k8s.pod.uid
value: ${K8S_POD_UID}
- action: insert
key: k8s.namespace.name
value: ${K8S_NAMESPACE}
resource/k8s_cluster:
attributes:
- action: insert
key: receiver
value: k8scluster
resourcedetection:
detectors:
- env
- system
override: true
timeout: 10s
receivers:
k8s_cluster:
auth_type: serviceAccount
metadata_exporters:
- signalfx
prometheus/k8s_cluster_receiver:
config:
scrape_configs:
- job_name: otel-k8s-cluster-receiver
scrape_interval: 10s
static_configs:
- targets:
- ${K8S_POD_IP}:8889
service:
extensions:
- health_check
- memory_ballast
pipelines:
metrics:
exporters:
- signalfx
processors:
- memory_limiter
- batch
- resource
- resource/k8s_cluster
receivers:
- k8s_cluster
metrics/collector:
exporters:
- signalfx
processors:
- memory_limiter
- batch
- resource/add_collector_k8s
- resourcedetection
- resource
receivers:
- prometheus/k8s_cluster_receiver
telemetry:
metrics:
address: 0.0.0.0:8889