Skip to content

Commit

Permalink
Using custom User-Agent for OTLP exports (#4)
Browse files Browse the repository at this point in the history
This will let us easily know which lane is sending data when viewing collector load balancer logs.
  • Loading branch information
clintonb authored Oct 20, 2024
1 parent 694a522 commit 16f5267
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ exporters:
endpoint: "https://otel-http.vori.com"
auth:
authenticator: oauth2client
headers:
User-Agent: "voripos-otel-collector/${env:VORIPOS_OTEL_COLLECTOR_VERSION} (voripos; banner_id:${env:VORIPOS_BANNER_ID} store_id:${env:VORIPOS_STORE_ID} lane_id:${env:VORIPOS_LANE_ID}) ${env:VORIPOS_BANNER_NAME}, ${env:VORIPOS_STORE_NAME}, ${env:VORIPOS_LANE_NAME}"

service:
extensions: [oauth2client]
Expand Down

0 comments on commit 16f5267

Please sign in to comment.