Skip to content

Allow CORS to the http endpoint#460

Merged
zeitlinger merged 5 commits into
grafana:mainfrom
Starefossen:patch-1
May 15, 2025
Merged

Allow CORS to the http endpoint#460
zeitlinger merged 5 commits into
grafana:mainfrom
Starefossen:patch-1

Conversation

@Starefossen
Copy link
Copy Markdown
Contributor

@Starefossen Starefossen commented May 6, 2025

This pull request introduces a configuration update to the OpenTelemetry Collector to allow more flexible cross-origin resource sharing (CORS) settings. This is useful for testing Faro locally.

Configuration updates:

  • docker/otelcol-config.yaml: Added a cors configuration under the http receiver to specify allowed_origins with a wildcard pattern (http://*). This change enables the OpenTelemetry Collector to accept requests from any HTTP origin.

Ref. https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/confighttp/README.md#server-configuration

@zeitlinger zeitlinger enabled auto-merge (squash) May 15, 2025 11:15
@zeitlinger zeitlinger merged commit c123e53 into grafana:main May 15, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants