Skip to content

Commit

Permalink
Fix build after recent collector release (#6548)
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-berg committed Jul 2, 2024
1 parent b56af03 commit 9fd6bca
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
9 changes: 5 additions & 4 deletions exporters/prometheus/src/test/resources/otel-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
extensions:
health_check: {}
health_check:
endpoint: 0.0.0.0:13133
receivers:
prometheus:
config:
scrape_configs:
- job_name: 'app'
scrape_interval: 1s
static_configs:
- targets: ['$APP_ENDPOINT']
- targets: ['${APP_ENDPOINT}']
exporters:
logging:
verbosity: $LOGGING_EXPORTER_VERBOSITY
verbosity: ${LOGGING_EXPORTER_VERBOSITY}
otlp:
endpoint: $OTLP_EXPORTER_ENDPOINT
endpoint: ${OTLP_EXPORTER_ENDPOINT}
tls:
insecure: true
compression: none
Expand Down
19 changes: 10 additions & 9 deletions integration-tests/otlp/src/main/resources/otel-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
extensions:
health_check: {}
health_check:
endpoint: 0.0.0.0:13133
receivers:
otlp:
protocols:
Expand All @@ -12,20 +13,20 @@ receivers:
grpc:
endpoint: 0.0.0.0:5317
tls:
client_ca_file: $MTLS_CLIENT_CERTIFICATE
cert_file: $MTLS_SERVER_CERTIFICATE
key_file: $MTLS_SERVER_KEY
client_ca_file: ${MTLS_CLIENT_CERTIFICATE}
cert_file: ${MTLS_SERVER_CERTIFICATE}
key_file: ${MTLS_SERVER_KEY}
http:
endpoint: 0.0.0.0:5318
tls:
client_ca_file: $MTLS_CLIENT_CERTIFICATE
cert_file: $MTLS_SERVER_CERTIFICATE
key_file: $MTLS_SERVER_KEY
client_ca_file: ${MTLS_CLIENT_CERTIFICATE}
cert_file: ${MTLS_SERVER_CERTIFICATE}
key_file: ${MTLS_SERVER_KEY}
exporters:
logging:
verbosity: $LOGGING_EXPORTER_VERBOSITY_LEVEL
verbosity: ${LOGGING_EXPORTER_VERBOSITY_LEVEL}
otlp:
endpoint: $OTLP_EXPORTER_ENDPOINT
endpoint: ${OTLP_EXPORTER_ENDPOINT}
tls:
insecure: true
compression: none
Expand Down

0 comments on commit 9fd6bca

Please sign in to comment.