Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add environment variables for MetricsAPIKey and LoggerAPIKey #221

Merged
merged 1 commit into from
Mar 16, 2021

Conversation

puckpuck
Copy link
Contributor

Adds an environment variable binding for both the HoneycombMetrics.MetricsAPIKey and HoneycombLogger.LoggerAPIKey properties.

To keep configs simple, a single environment variable called REFINERY_HONEYCOMB_API_KEY, is used for both of these properties. Though possible, the use case to send metrics and logs to different teams doesn't make sense, so using the same environment variable for both is ok.

By making this an environment variable, the API Key can be securely passed into refinery without being recorded in a plain text script or manifest file.

@puckpuck puckpuck requested a review from a team March 12, 2021 05:13
@vreynolds vreynolds added the version: bump patch A PR with release-worthy changes and is backwards-compatible. label Mar 12, 2021
@puckpuck puckpuck merged commit 5ea28a5 into main Mar 16, 2021
@puckpuck puckpuck deleted the puckpuck.apikey-env branch March 16, 2021 17:53
MikeGoldsmith pushed a commit that referenced this pull request Mar 22, 2021
MikeGoldsmith added a commit that referenced this pull request Mar 22, 2021
* main:
  Add test for OTLP handler, including spans with no status (#225)
  only publish to s3 when releasing (#218)
  guard against nil pointer dereference (#223)
  add env var for api keys (#221)
  Removes whitelist terminology (#222)
  add env var for api keys (#221)
ghost pushed a commit to opsramp/tracing-proxy that referenced this pull request Jul 5, 2024
ghost pushed a commit to opsramp/tracing-proxy that referenced this pull request Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version: bump patch A PR with release-worthy changes and is backwards-compatible.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants