Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonatan-ivanov/otel-spec-gh-464
Example and demo for https://github.com/open-telemetry/opentelemetry-specification/issues/464
https://github.com/jonatan-ivanov/otel-spec-gh-464
Last synced: 9 days ago
JSON representation
Example and demo for https://github.com/open-telemetry/opentelemetry-specification/issues/464
- Host: GitHub
- URL: https://github.com/jonatan-ivanov/otel-spec-gh-464
- Owner: jonatan-ivanov
- License: apache-2.0
- Created: 2021-06-11T18:54:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-11T18:54:59.000Z (over 3 years ago)
- Last Synced: 2025-01-06T14:56:36.164Z (12 days ago)
- Language: Java
- Size: 66.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Example and demo for https://github.com/open-telemetry/opentelemetry-specification/issues/464
A few things to notice:
- The `Meter` class is just a dummy one, just to have something similar to the OTel Metrics Specs
- There are no `Attibutes` used
- The reporting is just printing to `stdout`, see: `SimpleTimer`
- Most of the components are from Micrometer see original code, comments and license and authors there: https://github.com/micrometer-metrics/micrometer/
- `Clock` is important, it guides and helps testing, see: `MockClock`
- `Timer` is also important it guides (see: `Timer.Sample`) the user to record duration, see: `TimerDemo`
(There are other arrangements to do this, this is just an example)