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

New confmap provider: AWS SSM ParameterStore #1594

Open
its-felix opened this issue Nov 17, 2024 · 1 comment
Open

New confmap provider: AWS SSM ParameterStore #1594

its-felix opened this issue Nov 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@its-felix
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The collector currently supports resolving config values from files, environment, yaml, http, s3 and secretsmanager (https://github.com/open-telemetry/opentelemetry-lambda/blob/main/collector/internal/collector/collector.go#L76)

In my case, I'm exporting traces, logs and metrics to Grafana Cloud. To connect to Grafana Cloud, the collector needs to be configured with credentials which should ideally be stored in a secure location.

AWS SecretsManager would be an alternative, but at 0.40$ per Secret it quickly becomes quite expensive for its value.

AWS SSM ParameterStore would be a natural addition in the AWS Ecosystem.

Describe the solution you'd like
Adding a confmap provider which can resolve values from AWS SSM ParameterStore.

Describe alternatives you've considered

  • Using Secrets Manager (downside: pretty expensive for little/no benefit compared to ParameterStore)
  • Using environment variables (downside: no central configuration for multiple Lambdas)
  • Using s3 for the configuration file (downside: management becomes tricky, mixing configuration with secrets)

Additional context
ParameterStore Product Page: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html

Existing Issue in contrib: open-telemetry/opentelemetry-collector-contrib#36383
Existing PR in contrib: open-telemetry/opentelemetry-collector-contrib#36384

@its-felix its-felix added the enhancement New feature or request label Nov 17, 2024
@serkan-ozal
Copy link
Contributor

serkan-ozal commented Nov 26, 2024

@its-felix Thanks for the contribution. Once it is approved, merged and released in the upstream opentelemetry-collector-contrib repo, we can start discussing to include SSM confmap provider in the Lambda collector layer. /cc @tylerbenson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants