https://github.com/luisgabrielroldan/ddogzip
DDogZip listens for tracing data from Datadog clients and forwards it to a Zipkin collector.
https://github.com/luisgabrielroldan/ddogzip
datadog local-development span trace tracing zipkin
Last synced: about 1 year ago
JSON representation
DDogZip listens for tracing data from Datadog clients and forwards it to a Zipkin collector.
- Host: GitHub
- URL: https://github.com/luisgabrielroldan/ddogzip
- Owner: luisgabrielroldan
- License: mit
- Created: 2024-04-12T15:06:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T19:52:14.000Z (about 2 years ago)
- Last Synced: 2025-01-23T11:34:42.800Z (over 1 year ago)
- Topics: datadog, local-development, span, trace, tracing, zipkin
- Language: Elixir
- Homepage:
- Size: 42 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# DDogZip
DDogZip is a tool designed to facilitate local development by converting DataDog-style traces into Zipkin formats.
It allows developers to debug and analyze their traces locally without the need to transmit data to DataDog's infrastructure.
This tool is not intended to replace DataDog, but rather to enhance the debugging process during development phases where local trace analysis is required.
## Getting Started
### Configuration
DDogZip can be configured using environment variables as follows:
`DDTRACE_PORT`: Port to listen for Datadog client requests (default: 8126)
`ZIPKIN_HOST`: Hostname for the Zipkin collector (default: localhost)
`ZIPKIN_PORT`: Port for the Zipkin collector (default: 9411)
`LOG_LEVEL`: Logging level (warn, info, error, debug) (default: info)
### Running Locally
To start the application, run:
mix run --no-halt
### Runnin with Docker
```bash
docker run \
-p 8126:8126 \
-e DDTRACE_PORT=8126 \
-e ZIPKIN_HOST=localhost \
-e ZIPKIN_PORT=9411 \
ddogzip
```
Make sure to adjust the ZIPKIN_HOST, ZIPKIN_PORT, and LOG_LEVEL environment variables according to your Zipkin configuration and logging preferences.