hs-opentelemetry
所属分类:编程语言基础
开发工具:Haskell
文件大小:0KB
下载次数:0
上传日期:2023-08-23 04:52:10
上 传 者:
sh-1993
说明: Haskell编程语言的OpenTelemetry支持,
(OpenTelemetry support for the Haskell programming language,)
文件列表:
.editorconfig (165, 2023-09-12)
.env (23, 2023-09-12)
.envrc (35, 2023-09-12)
.hlint.yaml (406, 2023-09-12)
.sosrc (57, 2023-09-12)
CODE_OF_CONDUCT.md (5220, 2023-09-12)
ChangeLog.md (61, 2023-09-12)
LICENSE (1523, 2023-09-12)
Makefile (1450, 2023-09-12)
api/ (0, 2023-09-12)
api/ChangeLog.md (652, 2023-09-12)
api/LICENSE (1517, 2023-09-12)
api/Setup.hs (48, 2023-09-12)
api/hs-opentelemetry-api.cabal (3705, 2023-09-12)
api/package.yaml (1446, 2023-09-12)
api/src/ (0, 2023-09-12)
api/src/OpenTelemetry/ (0, 2023-09-12)
api/src/OpenTelemetry/Attributes.hs (8150, 2023-09-12)
api/src/OpenTelemetry/Baggage.hs (8071, 2023-09-12)
api/src/OpenTelemetry/Common.hs (419, 2023-09-12)
api/src/OpenTelemetry/Context.hs (3313, 2023-09-12)
api/src/OpenTelemetry/Context/ (0, 2023-09-12)
api/src/OpenTelemetry/Context/ThreadLocal.hs (5869, 2023-09-12)
api/src/OpenTelemetry/Context/Types.hs (923, 2023-09-12)
api/src/OpenTelemetry/Contrib/ (0, 2023-09-12)
api/src/OpenTelemetry/Contrib/CarryOns.hs (2286, 2023-09-12)
api/src/OpenTelemetry/Contrib/SpanTraversals.hs (1147, 2023-09-12)
api/src/OpenTelemetry/Exporter.hs (941, 2023-09-12)
api/src/OpenTelemetry/Internal/ (0, 2023-09-12)
api/src/OpenTelemetry/Internal/Trace/ (0, 2023-09-12)
api/src/OpenTelemetry/Internal/Trace/Id.hs (6979, 2023-09-12)
... ...
---
---
# OpenTelemetry for Haskell
This repository provides an implementation of the OpenTelemetry API and OpenTelemetry SDK
for the Haskell programming language.
## Implementation Status
This library still has a number of areas that don't fully cover
the breadth of the OpenTelemetry specification. The core aspects of the tracing
system are implemented, but you may view the detailed conformance [checklist
here](https://github.com/iand675/hs-opentelemetry/blob/master/spec-compliance.md)
Metrics and logs are not yet supported.
## Usage
If you're instrumenting a library directly, or as a wrapper, use the [hs-opentelemetry-api](https://github.com/iand675/hs-opentelemetry/blob/master/api/) package.
If you're instrumenting an application, use the [hs-opentelemetry-sdk](https://github.com/iand675/hs-opentelemetry/blob/master/sdk/) package.
## Examples
Fully instrumented application examples are available in the [examples](https://github.com/iand675/hs-opentelemetry/blob/master/examples/) folder.
- [Yesod application](https://github.com/iand675/hs-opentelemetry/blob/master/examples/yesod-minimal)
## Provided Instrumentation Libraries
| Package | OpenTelemetry Instrumentation |
|-------------------|-----------------------------------------------------------------------------------------|
| wai | [hs-opentelemetry-instrumentation-wai](https://github.com/iand675/hs-opentelemetry/blob/master/instrumentation/wai) |
| yesod-core | [hs-opentelemetry-instrumentation-yesod](https://github.com/iand675/hs-opentelemetry/blob/master/instrumentation/yesod) |
| persistent | [hs-opentelemetry-instrumentation-persistent](https://github.com/iand675/hs-opentelemetry/blob/master/instrumentation/persistent) |
| esqueleto | [hs-opentelemetry-instrumentation-persistent](https://github.com/iand675/hs-opentelemetry/blob/master/instrumentation/persistent) |
| persistent-mysql | [hs-opentelemetry-instrumentation-persistent-mysql](https://github.com/iand675/hs-opentelemetry/blob/master/instrumentation/persistent-mysql) |
| postgresql-simple | [hs-opentelemetry-instrumentation-postgresql-simple](https://github.com/iand675/hs-opentelemetry/blob/master/instrumentation/postgresql-simple) |
| http-client | [hs-opentelemetry-instrumentation-http-client](https://github.com/iand675/hs-opentelemetry/blob/master/instrumentation/http-client) |
| http-conduit | [hs-opentelemetry-instrumentation-http-client](https://github.com/iand675/hs-opentelemetry/blob/master/instrumentation/http-client) |
| conduit | [hs-opentelemetry-instrumentation-conduit](https://github.com/iand675/hs-opentelemetry/blob/master/instrumentation/conduit) |
## Provided Exporters
| Exporter | OpenTelemetry Package | Module | Support |
|-----------|--------------------------------------------------|------------------------------|--------------------|
| OTLP | [hs-opentelemetry-exporter-otlp](https://github.com/iand675/hs-opentelemetry/blob/master/exporters/otlp) | OpenTelemetry.Exporter.OTLP | :white_check_mark: |
| Jaeger | | | Not Implemented. |
| Zipkin | | | Not Implemented |
| Honeycomb | (use hs-opentelemetry-exporter-otlp) | | :white_check_mark: |
## Provided Propagators
| Propagator | OpenTelemetry Package | Module | Support |
|-----------------|------------------------------------------------------------|------------------------------------------|--------------------|
| W3CBaggage | [hs-opentelemetry-propagator-w3c](https://github.com/iand675/hs-opentelemetry/blob/master/propagators/w3c) | OpenTelemetry.Propagator.W3CBaggage | :white_check_mark: |
| W3CTraceContext | [hs-opentelemetry-propagator-w3c](https://github.com/iand675/hs-opentelemetry/blob/master/propagators/w3c) | OpenTelemetry.Propagator.W3CTraceContext | :white_check_mark: |
| B3 | [hs-opentelemetry-propagator-b3](https://github.com/iand675/hs-opentelemetry/blob/master/propagators/b3) | OpenTelemetry.Propagator.B3 | :white_check_mark: |
| Jaeger | [hs-opentelemetry-propagator-jaeger](https://github.com/iand675/hs-opentelemetry/blob/master/propagators/jaeger) | OpenTelemetry.Propagator.Jaeger | Not implemented. |
| Datadog | [hs-opentelemetry-propagator-datadog](https://github.com/iand675/hs-opentelemetry/blob/master/propagators/datadog) | OpenTelemetry.Propagator.Datadog | :white_check_mark: |
## Contributing
See [CONTRIBUTING.md](https://github.com/iand675/hs-opentelemetry/blob/master/CONTRIBUTING.md).
Maintainers:
- [Ian Duncan](https://github.com/iand675/hs-opentelemetry/blob/master/https://github.com/iand675)
## PRs and Reviews
When creating a PR please follow the process [described
here](https://github.com/iand675/hs-opentelemetry/blob/master/https://github.com/iand675/hs-opentelemetry/blob/main/CONTRIBUTING.md#how-to-structure-prs-to-get-expedient-reviews).
PRs will be automatically associated with the reviewers based on
[CODEOWNERS](https://github.com/iand675/hs-opentelemetry/blob/master/.github/CODEOWNERS). PRs will be also automatically assigned to one of the
maintainers or approvers for facilitation.
近期下载者:
相关文件:
收藏者: