Skip to content

Instantly share code, notes, and snippets.

@jpkrohling
Last active January 12, 2024 15:51
Show Gist options
  • Save jpkrohling/9ea754310dc643263782f007c38019e0 to your computer and use it in GitHub Desktop.
Save jpkrohling/9ea754310dc643263782f007c38019e0 to your computer and use it in GitHub Desktop.
OIDC Auth - Agent
extensions:
oauth2client/client:
client_id: agent
client_secret: ESlCjBlChcsvzXu7QYvH9IWvgzK2aKtc
token_url: http://0.0.0.0:8080/realms/opentelemetry/protocol/openid-connect/token
receivers:
otlp:
protocols:
grpc:
endpoint: localhost:5317
exporters:
debug:
otlp/secure:
endpoint: localhost:4317
tls:
ca_file: ca.pem
cert_file: client.pem
key_file: client-key.pem
auth:
authenticator: oauth2client/client
service:
extensions: [oauth2client/client]
pipelines:
traces:
receivers: [otlp]
exporters: [otlp/secure, debug]
telemetry:
metrics:
address: :8988
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment