{"id":21424802,"url":"https://github.com/opentelemetry-php/exporter-otlp","last_synced_at":"2025-06-10T14:09:58.370Z","repository":{"id":63931056,"uuid":"552580131","full_name":"opentelemetry-php/exporter-otlp","owner":"opentelemetry-php","description":"[READONLY] OTLP exporter","archived":false,"fork":false,"pushed_at":"2025-05-17T04:39:29.000Z","size":74,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-17T05:24:57.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opentelemetry-php.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-10-16T22:28:38.000Z","updated_at":"2025-05-17T04:39:33.000Z","dependencies_parsed_at":"2024-01-27T08:26:22.691Z","dependency_job_id":"e4e394fe-50e1-4ab2-b91e-3bdb9fe2f44f","html_url":"https://github.com/opentelemetry-php/exporter-otlp","commit_stats":{"total_commits":30,"total_committers":8,"mean_commits":3.75,"dds":0.5,"last_synced_commit":"ea0a19fbf674019f1e16389aeef28edfb559308c"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentelemetry-php%2Fexporter-otlp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentelemetry-php%2Fexporter-otlp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentelemetry-php%2Fexporter-otlp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentelemetry-php%2Fexporter-otlp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opentelemetry-php","download_url":"https://codeload.github.com/opentelemetry-php/exporter-otlp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opentelemetry-php%2Fexporter-otlp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259089057,"owners_count":22803670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T21:24:38.250Z","updated_at":"2025-06-10T14:09:58.335Z","avatar_url":"https://github.com/opentelemetry-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Releases](https://img.shields.io/badge/releases-purple)](https://github.com/opentelemetry-php/exporter-otlp/releases)\n[![Source](https://img.shields.io/badge/source-exporter--otlp-green)](https://github.com/open-telemetry/opentelemetry-php/tree/main/src/Contrib/Otlp)\n[![Mirror](https://img.shields.io/badge/mirror-opentelemetry--php:exporter--otlp-blue)](https://github.com/opentelemetry-php/exporter-otlp)\n[![Latest Version](http://poser.pugx.org/open-telemetry/exporter-otlp/v/unstable)](https://packagist.org/packages/open-telemetry/exporter-otlp/)\n[![Stable](http://poser.pugx.org/open-telemetry/exporter-otlp/v/stable)](https://packagist.org/packages/open-telemetry/exporter-otlp/)\n\n# OpenTelemetry OTLP exporter\n\n## Documentation\n\nhttps://opentelemetry.io/docs/instrumentation/php/exporters/#otlp\n\n## Usage\n\nSee https://github.com/open-telemetry/opentelemetry-php/blob/main/examples/traces/exporters/otlp_http.php\n\n## Http transport\n\n```php\n$transport = (new \\OpenTelemetry\\Contrib\\Otlp\\OtlpHttpTransportFactory())-\u003ecreate('http://collector:4318', 'application/json');\n$exporter = new \\OpenTelemetry\\Contrib\\Otlp\\SpanExporter($transport);\n```\n\n## gRPC transport\n\nTo export over gRPC, you will need to additionally install the `open-telemetry/transport-grpc` package.\n\n## Protobuf Runtime library\n\nOTLP exporting requires a [protobuf implementation](https://github.com/protocolbuffers/protobuf/tree/main/php).\n\nThe `open-telemetry/gen-otlp-protobuf` requires the `google/protobuf` native implementation. It's fine for development, but\nnot recommended for production usage.\n\nThe recommended option for production is to install the Protobuf C extension for PHP. The extension\nmakes exporting _significantly_ more performant. This can be easily installed with the following command:\n\n```shell\npecl install protobuf\n```\n\n## Contributing\n\nThis repository is a read-only git subtree split.\nTo contribute, please see the main [OpenTelemetry PHP monorepo](https://github.com/open-telemetry/opentelemetry-php).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentelemetry-php%2Fexporter-otlp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopentelemetry-php%2Fexporter-otlp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentelemetry-php%2Fexporter-otlp/lists"}