Skip to content

Commit 9fd6bca

Browse files
authored
Fix build after recent collector release (#6548)
1 parent b56af03 commit 9fd6bca

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

exporters/prometheus/src/test/resources/otel-config.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
extensions:
2-
health_check: {}
2+
health_check:
3+
endpoint: 0.0.0.0:13133
34
receivers:
45
prometheus:
56
config:
67
scrape_configs:
78
- job_name: 'app'
89
scrape_interval: 1s
910
static_configs:
10-
- targets: ['$APP_ENDPOINT']
11+
- targets: ['${APP_ENDPOINT}']
1112
exporters:
1213
logging:
13-
verbosity: $LOGGING_EXPORTER_VERBOSITY
14+
verbosity: ${LOGGING_EXPORTER_VERBOSITY}
1415
otlp:
15-
endpoint: $OTLP_EXPORTER_ENDPOINT
16+
endpoint: ${OTLP_EXPORTER_ENDPOINT}
1617
tls:
1718
insecure: true
1819
compression: none

integration-tests/otlp/src/main/resources/otel-config.yaml

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
extensions:
2-
health_check: {}
2+
health_check:
3+
endpoint: 0.0.0.0:13133
34
receivers:
45
otlp:
56
protocols:
@@ -12,20 +13,20 @@ receivers:
1213
grpc:
1314
endpoint: 0.0.0.0:5317
1415
tls:
15-
client_ca_file: $MTLS_CLIENT_CERTIFICATE
16-
cert_file: $MTLS_SERVER_CERTIFICATE
17-
key_file: $MTLS_SERVER_KEY
16+
client_ca_file: ${MTLS_CLIENT_CERTIFICATE}
17+
cert_file: ${MTLS_SERVER_CERTIFICATE}
18+
key_file: ${MTLS_SERVER_KEY}
1819
http:
1920
endpoint: 0.0.0.0:5318
2021
tls:
21-
client_ca_file: $MTLS_CLIENT_CERTIFICATE
22-
cert_file: $MTLS_SERVER_CERTIFICATE
23-
key_file: $MTLS_SERVER_KEY
22+
client_ca_file: ${MTLS_CLIENT_CERTIFICATE}
23+
cert_file: ${MTLS_SERVER_CERTIFICATE}
24+
key_file: ${MTLS_SERVER_KEY}
2425
exporters:
2526
logging:
26-
verbosity: $LOGGING_EXPORTER_VERBOSITY_LEVEL
27+
verbosity: ${LOGGING_EXPORTER_VERBOSITY_LEVEL}
2728
otlp:
28-
endpoint: $OTLP_EXPORTER_ENDPOINT
29+
endpoint: ${OTLP_EXPORTER_ENDPOINT}
2930
tls:
3031
insecure: true
3132
compression: none

0 commit comments

Comments
 (0)