Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vergissberlin/example-opentelemetry
With this examples you can learn how to use OpenTelemetry in your applications. We have added examples for different languages and exporters. Only checked features are implemented.
https://github.com/vergissberlin/example-opentelemetry
examples opentelemetry opentelemetry-collector
Last synced: 28 days ago
JSON representation
With this examples you can learn how to use OpenTelemetry in your applications. We have added examples for different languages and exporters. Only checked features are implemented.
- Host: GitHub
- URL: https://github.com/vergissberlin/example-opentelemetry
- Owner: vergissberlin
- License: gpl-3.0
- Created: 2024-07-01T14:00:27.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-19T12:08:08.000Z (about 2 months ago)
- Last Synced: 2024-09-27T06:43:10.616Z (about 1 month ago)
- Topics: examples, opentelemetry, opentelemetry-collector
- Language: Makefile
- Homepage:
- Size: 5.52 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenTelemetry examples
With these examples you can learn how
to use OpenTelemetry in your applications.
We have added examples for different languages and exporters.
Only checked features are implemented.
---
## Features
> An easy way ro get all open port is also to run `make ps` in the root of the
> repository after you have started the services with `make up`.### Emitters (SDKs)
| SDK | Status | URL | Docs |
|--------|--------|----------------------------------------|------------------------------------|
| dart | ✔️ | | [code](examples/emitters/dart/dice) |
| go | | | |
| java | | | |
| nodejs | ✔️ | | [code](examples/emitters/nodejs) |
| python | ✔️ | | [code](examples/emitters/python) |
| rust | | | |### Collectors
| Service | Status | Protocol | URL |
|---------------------------------|--------|----------|-----------------------|
| OpenTelemetry Collector | ✔️ | gRPC | `grpc://0.0.0.0:4318` |
| OpenTelemetry Collector Contrib | ✔️ | gRPC | `grpc://0.0.0.0:5318` |### Processors
| Processor | Status |
|-----------|--------|
| Batch | |
| Filter | |### Exporters
| Service | Status | URL |
|-------------|--------|-----|
| Kafka | | |
| MQTT | | |
| Solace | | |
| File system | | |### Receivers
| Service | Status | URL |
|--------------------|--------|------------------------|
| Aspire | ✔️ | |
| AWS X-Ray | | |
| DataDog | | |
| Dynatrace | | |
| Google Cloud Trace | | |
| Grafana | ✔️ | |
| Honeycomb | | |
| Instana | | |
| Jaeger | ✔️ | |
| Lightstep | | |
| New Relic | | |
| OpenCensus | | |
| Prometheus | | |
| Sentry | | |
| SignalFx | | |
| Wavefront | | |## Getting started
1. Clone the repository
2. Choose the language you want to learn
3. Start the collector and receiver locally with Docker
1. `make collectors-up`
2. `make receiver-up`
4. Run the example in the language you have chosen (see README.md in the
language folder)### Command line interface
To make it easy as possible to run the examples, we have added a command line
interface.![Command line interface with make](docs/cli.png)
You can start all examples with one command. Just run `make up` in the root of
the repository. Or you can start the examples individually
with `make emitter--up` or `make receiver--up`.## Contributing
If you want to contribute to this repository, please read
the [CONTRIBUTING.md](CONTRIBUTING.md) file.