Skip to content

Commit 7c55374

Browse files
authored
Update otel-demo-collector.yaml
1 parent 048b9f8 commit 7c55374

File tree

1 file changed

+60
-8
lines changed

1 file changed

+60
-8
lines changed

oteldemo/otel-demo-collector.yaml

Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,82 @@
11
agent:
22
config:
3+
receivers:
4+
receiver_creator:
5+
receivers:
6+
smartagent/redis:
7+
rule: type == "pod" && name matches "redis"
8+
config:
9+
type: collectd/redis
10+
endpoint: '`endpoint`:6379'
11+
smartagent/kafka:
12+
rule: type == "pod" && name matches "kafka"
13+
config:
14+
type: collectd/kafka
15+
endpoint: '`endpoint`:5555'
16+
clusterName: otel-demo-kafka
17+
smartagent/kafka_consumer:
18+
rule: type == "pod" && name matches "kafka"
19+
config:
20+
type: collectd/kafka_consumer
21+
endpoint: '`endpoint`:5555'
22+
smartagent/kafka_producer:
23+
rule: type == "pod" && name matches "kafka"
24+
config:
25+
type: collectd/kafka_producer
26+
endpoint: '`endpoint`:5555'
27+
smartagent/postgres:
28+
rule: type == "pod" && name matches "ffspostgres"
29+
config:
30+
type: collectd/postgresql
31+
endpoint: '`endpoint`:5432'
32+
username: "ffs"
33+
password: "ffs"
34+
databases:
35+
- name : "ffs"
36+
processors:
37+
attributes/postgres:
38+
include:
39+
match_type: strict
40+
services:
41+
- featureflagservice
42+
actions:
43+
- key: db.type
44+
value: postgres
45+
action: upsert
346
exporters:
447
otlphttp:
5-
traces_endpoint: "https://ingest.us1.signalfx.com/v2/trace/otlp"
48+
traces_endpoint: "https://ingest.{REALM}.signalfx.com/v2/trace/otlp"
649
compression: gzip
750
headers:
851
"X-SF-Token": "${SPLUNK_OBSERVABILITY_ACCESS_TOKEN}"
952
logging:
10-
loglevel: debug
53+
loglevel: info
1154
service:
1255
pipelines:
13-
traces:
56+
metrics:
1457
exporters:
15-
- sapm
1658
- signalfx
59+
processors:
60+
- memory_limiter
61+
- batch
62+
- resourcedetection
63+
- resource
64+
receivers:
65+
- hostmetrics
66+
- kubeletstats
67+
- otlp
68+
- receiver_creator
69+
- signalfx
70+
traces:
71+
exporters:
1772
- otlphttp
18-
- logging
1973
processors:
2074
- memory_limiter
2175
- k8sattributes
2276
- batch
2377
- resourcedetection
2478
- resource
2579
- resource/add_environment
80+
- attributes/postgres
2681
receivers:
2782
- otlp
28-
- jaeger
29-
- smartagent/signalfx-forwarder
30-
- zipkin

0 commit comments

Comments
 (0)