mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-03 22:52:30 +02:00
46d9687a35
This implements specification requirement: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md#resource-creation - Changes `resource.NewWithAttributes` to require a schema URL. The old function is still available as `resource.NewSchemaless`. This is a breaking change. We want to encourage using schema URL and make it a conscious choice to have a resource without schema. - Merge schema URLs acccording to the spec in resource.Merge. - Several builtin resource detectors now correctly populate the schema URL. Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> |
||
---|---|---|
.. | ||
metric/prometheus | ||
otlp | ||
stdout | ||
trace | ||
README.md |
Exporters
Included in this directory are exporters that export both metric and trace telemetry.
- stdout: Writes telemetry to a specified local output as structured JSON.
- otlp: Sends telemetry to an OpenTelemetry collector as OTLP.
Additionally, there are metric and trace only exporters.
Metric Telemetry Only
- prometheus: Exposes metric telemetry as Prometheus metrics.