Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/membraneframework-labs/membrane_opentelemetry_plugs
https://github.com/membraneframework-labs/membrane_opentelemetry_plugs
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/membraneframework-labs/membrane_opentelemetry_plugs
- Owner: membraneframework-labs
- License: apache-2.0
- Created: 2024-10-04T09:24:16.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-12-02T16:03:53.000Z (about 1 month ago)
- Last Synced: 2024-12-02T17:23:04.160Z (about 1 month ago)
- Language: Elixir
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Membrane Opentelemetry Plugs
[![Hex.pm](https://img.shields.io/hexpm/v/membrane_opentelemetry_plugs.svg)](https://hex.pm/packages/membrane_opentelemetry_plugs)
[![API Docs](https://img.shields.io/badge/api-docs-yellow.svg?style=flat)](https://hexdocs.pm/membrane_opentelemetry_plugs)
[![CircleCI](https://circleci.com/gh/membraneframework/membrane_opentelemetry_plugs.svg?style=svg)](https://circleci.com/gh/membraneframework/membrane_opentelemetry_plugs)This repository contains plugs that generate opentelemetry spans.
It's a part of the [Membrane Framework](https://membrane.stream).
## Installation
The package can be installed by adding `membrane_opentelemetry_plugs` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:membrane_opentelemetry_plugs, "~> 0.1.0"}
]
end
```## Usage
To enable a plug, you have to include it in the project config. You can also specify, which Membrane pipelines you want to track (defaults to `:all`).
```elixir
config :membrane_opentelemetry_plugs,
plugs: [Membrane.OpenTelemetry.Plugs.Launch],
tracked_pipelines: [My.Pipeline, My.Another.Pipeline]
```Currently the only one plug that exists in this repo is `Membrane.OpenTelemetry.Plugs.Launch`.
## Copyright and License
Copyright 2020, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=membrane_template_plugin)
[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=membrane-github)](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=membrane_template_plugin)
Licensed under the [Apache License, Version 2.0](LICENSE)