Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haileys/dprom
Protocol for exposing Prometheus metrics via D-Bus. Reference implementations included
https://github.com/haileys/dprom
dbus prometheus prometheus-exporter rust
Last synced: about 1 month ago
JSON representation
Protocol for exposing Prometheus metrics via D-Bus. Reference implementations included
- Host: GitHub
- URL: https://github.com/haileys/dprom
- Owner: haileys
- Created: 2022-12-06T08:11:52.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-15T02:47:51.000Z (about 2 years ago)
- Last Synced: 2024-10-16T15:42:10.391Z (3 months ago)
- Topics: dbus, prometheus, prometheus-exporter, rust
- Language: Rust
- Homepage:
- Size: 81.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# D-Prom
Protocol for exposing Prometheus metrics via D-Bus. This repo contains D-Bus interface definitions under [`dbus/`](/dbus) as well as the programs `dprom-export` and `dprom-file-gauge`.
`dprom-export` is a Prometheus-compatible metrics exporter supporting optional TLS with mutual authentication and live monitoring of D-Prom interfaces on the D-Bus.
`dprom-file-gauge` is a reference implementation of a service exposing the D-Prom interfaces.
This command periodically refreshes the configured files and exports the float values of these files to D-Bus via the D-Prom interfaces.Example configuration files for both of these services can be found in the [`config_examples/`](/config_examples) directory.
## Installing
### Arch Linux
Pre-built packages are available on the [releases](https://github.com/haileys/dprom/releases) page.
Packages can also be built from source using the `PKGBUILD` in the [`pkg/arch/`](/pkg/arch) directory:
```sh-session
$ cd pkg/arch
$ makepkg -si
... will build package and prompt to install with sudo
```