OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 year ago
..
Makefile d048329a2b Move resourcetotelemetry from core to contrib as exporter helper (#4880) 3 years ago
README.md d048329a2b Move resourcetotelemetry from core to contrib as exporter helper (#4880) 3 years ago
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) 1 year ago
go.sum 40b485f08a Update core for v0.90.0 release (#29539) 1 year ago
metadata.yaml 8a4348cb00 [chore] add codeowners to metadata (#24404) 1 year ago
resource_to_telemetry.go 3cedb235e7 [chore] [pkg/resourcetotelemetry] reduce memory usage (#29327) 1 year ago
resource_to_telemetry_test.go 3cedb235e7 [chore] [pkg/resourcetotelemetry] reduce memory usage (#29327) 1 year ago

README.md

Resource to Telemetry

This is an exporter helper for converting resource attributes to telemetry attributes. This helper can be used to wrap other exporters.

:warning: This exporter helper should not be added to a service pipeline.

Configuration

The following configuration options can be modified:

  • resource_to_telemetry_conversion
    • enabled (default = false): If enabled is true, all the resource attributes will be converted to metric labels by default.