opentelemetry-php
opentelemetry-php copied to clipboard
OtlpGrpc exporter for metrics
Closes #700
A new exporter for metrics using OTLP format. It is basically a copy of the existing OpenTelemetry\Contrib\OtlpGrpc\Exporter
exporter for traces. OTLP conversion is borrowed from OpenTelemetry\Contrib\Otlp\SpanConverter
.
I also tried to update the metric related classes to use ResourceInfo
and InstrumentationScope
as it was defined in the documentation. I am not 100% sure if I understood/followed them correctly.
It looks like I need to solve API on SDK issue first.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Closing this PR since it was already implemented in https://github.com/open-telemetry/opentelemetry-php/pull/750