Skip to content

Commit 9fc3de1

Browse files
JBAhirejcchavezs
andauthored
fix: changes default configs to work with docker-compose setup (hypertrace#45)
* fix: changes default configs to work with docker-compose setup * fix: separate default and hypertrace config * fix: makes ht-config default * fix: BROKER name as environment variable * fix: sets environemt variable for topics * fix: makes ht-configs default with env variables * Update default-config.yml Co-authored-by: José Carlos Chávez <[email protected]> * Update default-config.yml Co-authored-by: José Carlos Chávez <[email protected]> * chore: changes the env vars to remove the HT prefix as it is redundant. Co-authored-by: José Carlos Chávez <[email protected]>
1 parent 174a2e4 commit 9fc3de1

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

default-config.yml

+7-20
Original file line numberDiff line numberDiff line change
@@ -13,44 +13,31 @@ receivers:
1313
protocols:
1414
grpc:
1515
http:
16-
1716
opencensus:
18-
19-
# Collect own metrics
20-
prometheus:
21-
config:
22-
scrape_configs:
23-
- job_name: "otel-collector"
24-
scrape_interval: 10s
25-
static_configs:
26-
- targets: ["0.0.0.0:8888"]
27-
2817
jaeger:
2918
protocols:
3019
grpc:
3120
thrift_binary:
3221
thrift_compact:
3322
thrift_http:
34-
3523
zipkin:
3624

3725
processors:
3826
batch:
3927

4028
exporters:
41-
logging:
42-
logLevel: debug
29+
kafka:
30+
protocol_version: 2.0.0
31+
brokers:
32+
- ${EXPORTER_KAFKA_BROKER}
33+
topic: ${EXPORTER_KAFKA_TOPIC}
34+
encoding: jaeger_proto
4335

4436
service:
4537
pipelines:
4638
traces:
4739
receivers: [otlp, opencensus, jaeger, zipkin]
4840
processors: [batch]
49-
exporters: [logging]
50-
51-
metrics:
52-
receivers: [otlp, opencensus, prometheus]
53-
processors: [batch]
54-
exporters: [logging]
41+
exporters: [kafka]
5542

5643
extensions: [health_check, pprof, zpages]

0 commit comments

Comments
 (0)