Last active
March 25, 2022 16:47
-
-
Save jpkrohling/9058110b7ca99f9658a123448084f608 to your computer and use it in GitHub Desktop.
Securing the collector - agent config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extensions: | |
oauth2client: | |
client_id: agent | |
client_secret: Dl76n1p8P2SEdqhcyfcqtmNJi8Kf5LG3 | |
token_url: http://localhost:8080/auth/realms/opentelemetry/protocol/openid-connect/token | |
receivers: | |
otlp: | |
protocols: | |
grpc: | |
processors: | |
exporters: | |
otlp: | |
endpoint: https://localhost:4318 | |
tls: | |
ca_file: /tmp/certs/ca.pem | |
auth: | |
authenticator: oauth2client | |
service: | |
telemetry: | |
metrics: | |
address: :8988 | |
extensions: [oauth2client] | |
pipelines: | |
traces/agent: | |
receivers: [otlp] | |
processors: [] | |
exporters: [otlp] |
This is for the OpenTelemetry Collector deployed as an agent, not for Java Agents.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In agents, where should we use this?
Example for java agent, where should we use this...