Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opentelemetry-php/extension-propagator-cloudtrace
[READONLY] Cloud Trace propagator
https://github.com/opentelemetry-php/extension-propagator-cloudtrace
Last synced: about 7 hours ago
JSON representation
[READONLY] Cloud Trace propagator
- Host: GitHub
- URL: https://github.com/opentelemetry-php/extension-propagator-cloudtrace
- Owner: opentelemetry-php
- Created: 2023-10-30T22:19:12.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-14T23:14:40.000Z (10 months ago)
- Last Synced: 2024-03-15T00:28:26.367Z (10 months ago)
- Language: PHP
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Releases](https://img.shields.io/badge/releases-purple)](https://github.com/opentelemetry-php/extension-propagator-cloudtrace/releases)
[![Source](https://img.shields.io/badge/source-extension--propagator--cloudtrace-green)](https://github.com/open-telemetry/opentelemetry-php/tree/main/src/Extension/Propagator/CloudTrace)
[![Mirror](https://img.shields.io/badge/mirror-opentelemetry--php:extension--propagator--cloudtrace-blue)](https://github.com/opentelemetry-php/extension-propagator-cloudtrace)
[![Latest Version](http://poser.pugx.org/open-telemetry/extension-propagator-cloudtrace/v/unstable)](https://packagist.org/packages/open-telemetry/extension-propagator-cloudtrace/)
[![Stable](http://poser.pugx.org/open-telemetry/extension-propagator-cloudtrace/v/stable)](https://packagist.org/packages/open-telemetry/extension-propagator-cloudtrace/)# OpenTelemetry Extension
### CloudTrace PropagatorCloudTrace is a propagator that supports the specification for the header "x-cloud-trace-context" used for trace context propagation across
service boundaries. (https://cloud.google.com/trace/docs/setup#force-trace). OpenTelemetry PHP CloudTrace Propagator Extension provides
option to use it bi-directionally or one-way. One-way does not inject the header for downstream consumption, it only processes the incoming headers
and returns the correct span context. It only attaches to existing X-Cloud-Trace-Context traces and does not create downstream ones.For one-way CloudTrace:
```text
CloudTracePropagator::getOneWayInstance()
```For bi-directional CloudTrace:
```text
CloudTracePropagator::getInstance()
```## Contributing
This repository is a read-only git subtree split.
To contribute, please see the main [OpenTelemetry PHP monorepo](https://github.com/open-telemetry/opentelemetry-php).