Skip to content

Use OPENTELEMETRY_EXPORT for functions in meter_config & tracer_config #3302

@psx95

Description

@psx95

For meter_config and tracer_config, use OPENTELEMETRY_EXPORT to export all public static functions and default constructor, destructor and assignment operators.

Additionally use static local variables for default & disabled config objects to avoid unnecessary creation and ensure stable constructing and destructing order.

See reference in this issue comment for logger_config.

Metadata

Metadata

Assignees

Labels

triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions