Skip to content

Avoid infinity loop when exporter use http to send spans #332

Closed
@OlivierAlbertini

Description

@OlivierAlbertini

Is your feature request related to a problem? Please describe.

Right now, I must use this config to avoid infinity loop:

const config = { 
 plugins: {
            http: {
                enabled: true,
                path: '@opentelemetry/plugin-http',
                ignoreOutgoingUrls: [/spans/]
            }
        }
}

Describe the solution you'd like
We should handle this internally. Perhaps we could use a specific header that will be handled by http plugin for ignoring outgoing request with that header?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions