Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/opentelemetry-php/exporter-otlp-grpc

[READONLY] GRPC exporter
https://github.com/opentelemetry-php/exporter-otlp-grpc

Last synced: about 1 month ago
JSON representation

[READONLY] GRPC exporter

Awesome Lists containing this project

README

        

# OpenTelemetry gRPC Exporter

OTLP gRPC exporter for OpenTelemetry.

## Usage

See https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/traces/features/exporters/otlp_grpc.php

```php
$transport = (new \OpenTelemetry\Contrib\Grpc\GrpcTransportFactory())->create('http://collector:4317');
$exporter = new \OpenTelemetry\Contrib\Otlp\SpanExporter($transport);
```