Skip to content

awscloudwatchreceiver: Testing locally with Localstack #38219

Closed as not planned
Closed as not planned
@wildum

Description

@wildum

Component(s)

receiver/awscloudwatch

Describe the issue you're reporting

While adding the component to Alloy (the Otel collector distribution of Grafana), I tested the component locally using Localstack but I couldn't configure my collector to point at the Localstack.

The only way to get it to work was to add "WithEndpoint" to the Aws config here: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/awscloudwatchreceiver/logs.go#L354

Should there be a parameter for this or am I missing something? I'd be happy to contribute with a PR if you think that's a good idea.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions