1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/exporters
Damien Mathieu 844b107e98
Validate instrument names when creating them (#4210)
* validate instrument names when creating them

* add changelog entry

* remove now invalid instrument name from prometheus test

* fix invalid names in meter_test

* keep returning the instrument even if its name is invalid

* make invalid instrument name a known error

* bring back prometheus invalid instrument name test

* remove warning

* fix lint

* move name validation into the lookup method

* fix lint again

* Revert "move name validation into the lookup method"

This reverts commit ec8ccc5fa0.

* rename ErrInvalidInstrumentName to ErrInstrumentName

* switch to explicit validations, instead of a regexp

* Update CHANGELOG.md

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* remove double check for empty name

* test validation shortcut with a single character

---------

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Aaron Clawson <3766680+MadVikingGod@users.noreply.github.com>
2023-06-09 08:32:56 -07:00
..
jaeger dependabot updates Mon Jun 5 09:32:52 UTC 2023 (#4198) 2023-06-05 11:41:23 +02:00
otlp Upgrade go.opentelemetry.io/proto/otlp to v0.20.0 (#4213) 2023-06-08 08:57:18 -07:00
prometheus Validate instrument names when creating them (#4210) 2023-06-09 08:32:56 -07:00
stdout dependabot updates Mon Jun 5 09:32:52 UTC 2023 (#4198) 2023-06-05 11:41:23 +02:00
zipkin dependabot updates Mon Jun 5 09:32:52 UTC 2023 (#4198) 2023-06-05 11:41:23 +02:00
README.md Add README to the exporter package (#3142) 2022-09-04 07:52:34 -07:00

OpenTelemetry Exporters

Once the OpenTelemetry SDK has created and processed telemetry, it needs to be exported. This package contains exporters for this purpose.

Exporter Packages

The following exporter packages are provided with the following OpenTelemetry signal support.

Exporter Package Metrics Traces
go.opentelemetry.io/otel/exporters/jaeger
go.opentelemetry.io/otel/exporters/otlp/otlpmetric
go.opentelemetry.io/otel/exporters/otlp/otlptrace
go.opentelemetry.io/otel/exporters/prometheus
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric
go.opentelemetry.io/otel/exporters/stdout/stdouttrace
go.opentelemetry.io/otel/exporters/zipkin

See the OpenTelemetry registry for 3rd-part exporters compatible with this project.