Kai e3f0ec8ee0
Handle binary and undefined response status and rename http.status to http.status_code in opentelemetry-cowboy (#48)
* Handle binary resp_status from Cowboy and rename http.status to http.status_code

* Fix test to use http.status_code as well

* Handle resp_status could be undefined but not error

- This could be due to websocket upgrade request.

* Rename Status1 and transform_status to a more concise naming

* Add test case for handling binary response code

* Fix syntax and failing tests

* Always convert cowboy status to status code

* Set otel span status as error when status code >= 500
2022-03-19 06:16:15 -06:00
2021-09-12 13:49:24 -06:00
2021-11-22 12:18:02 -07:00
2021-04-19 10:19:28 -07:00
2021-09-12 13:49:24 -06:00
2022-01-04 06:01:06 -07:00

<p align="center"> <strong> <a href="https://github.com/open-telemetry/opentelemetry-erlang/blob/main/website_docs/getting-started.md">Getting Started<a/>   •   <a href="https://hexdocs.pm/opentelemetry_api/1.0.0-rc.2/OpenTelemetry.html">API Documentation<a/> </strong> </p> <p align="center"> <strong> <a href="CONTRIBUTING.md">Contributing<a/>   •   <a href="instrumentation/">Instrumentation<a/>   •   <a href="propagators/">Propagators<a/>   •   <a href="examples/">Examples<a/> </strong> </p>

Getting Started   •   API Documentation

Contributing   •   Instrumentation   •   Propagators   •   Examples

EEF Observability WG project Elixir

About this project

This is a repository for OpenTelemetry Erlang & Elixir contributions that are not part of the core repository and core distribution of the API and SDK.

Instrumentations

OpenTelemetry can collect tracing data using instrumentation. Vendors/Users can also create and use their own. Currently, OpenTelemetry supports automatic tracing for:

Supported Runtimes

OpenTelemetry requires OTP v21.3 and above.

See Elixir OTP Compatibility for supported OTP/Elixir combinations.

Contributing

We'd love your help!. Use tags [up-for-grabs][up-for-grabs-issues] and good first issue to get started with the project. Follow CONTRIBUTING guide to report issues or submit a proposal.

License

Apache 2.0 - See LICENSE for more information.

Description
No description provided
Readme 808 KiB
Languages
Elixir 73.3%
Erlang 26.6%