Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opencensus-beam/opencensus_telemetry
Opencensus integration with Telemetry library
https://github.com/opencensus-beam/opencensus_telemetry
elixir erlang metrics opencensus telemetry
Last synced: 29 days ago
JSON representation
Opencensus integration with Telemetry library
- Host: GitHub
- URL: https://github.com/opencensus-beam/opencensus_telemetry
- Owner: opencensus-beam
- License: apache-2.0
- Created: 2018-12-04T22:09:11.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-18T16:45:25.000Z (over 5 years ago)
- Last Synced: 2024-10-01T15:07:58.534Z (about 1 month ago)
- Topics: elixir, erlang, metrics, opencensus, telemetry
- Language: Erlang
- Homepage:
- Size: 46.9 KB
- Stars: 18
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-beam-monitoring - Telemetry
README
# Opencensus.Telemetry
[![CircleCI](https://circleci.com/gh/opencensus-beam/opencensus_telemetry.svg?style=svg)](https://circleci.com/gh/opencensus-beam/opencensus_telemetry)
[![codecov](https://codecov.io/gh/opencensus-beam/opencensus_telemetry/branch/master/graph/badge.svg)](https://codecov.io/gh/opencensus-beam/opencensus_telemetry)Integration between [`telemetry`][telemetry] and [`opencensus`][oc].
## Installation
Rebar3:
```erlang
{deps, [{opencensus_telemetry, "~> 0.1.0"}]}.
```Mix:
```elixir
def deps do
[
{:opencensus_telemetry, "~> 0.1.0"}
]
end
```## Usage
To add measure on event just run:
```erlang
oc_telemetry:attach("measure/name", [event, name], "Description", unit).
```Or in Elixir:
```elixir
:oc_telemetry.attach("measure/name", [:event, :name], "Description", :unit)
```## License
See [LICENSE](LICENSE) file.
[telemetry]: https://github.com/beam-telemetry/telemetry
[oc]: https://github.com/census-instrumentation/opencensus-erlang