You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add metric `version_info` showing the version of the exporter [#12](https://github.com/gonicus/asterisk-prometheus-exporter/pull/12)
5
+
- Add the `fully_booted_validation_timeout` configuration value to specify how long to wait for the `FullyBooted` event at startup [#13](https://github.com/gonicus/asterisk-prometheus-exporter/pull/13)
6
+
7
+
### Changed
8
+
- The exporter now waits for the `FullyBooted` event sent by Asterisk. Used to prevent sending actions to early [#13](https://github.com/gonicus/asterisk-prometheus-exporter/pull/13)
Copy file name to clipboardExpand all lines: README.md
+10-13Lines changed: 10 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,15 @@
2
2
Repository that provides a dynamically configurable Prometheus exporter for Asterisk. The exporter uses the Asterisk Manager Interface (AMI) to communicate with Asterisk and YAML files to configure what data is scraped from Asterisk and what metrics are generated. This allows the exporter to be used with older Asterisk versions in different environments.
3
3
4
4
## Installation
5
+
### Docker
6
+
You can use the provided Docker image from GitHub Packages. \
7
+
Run the Docker image and mount the configuration:
8
+
```
9
+
docker run -p 8080:8080 -v ./config.yml:/home/dev/asterisk-prometheus-exporter/config.yml ghcr.io/gonicus/asterisk-prometheus-exporter:latest
10
+
```
11
+
The configured metrics can be accessed at http://localhost:8080. \
12
+
Alternatively, you can also create a Docker image using the provided Dockerfile.
13
+
5
14
### Python Poetry
6
15
The exporter uses Poetry as it's dependency management. Head over to [Poetry](https://python-poetry.org/) to install the latest version for your desired platform.
7
16
@@ -20,18 +29,6 @@ By default, the exporter loads the configuration `config.yml` and uses port 8080
20
29
A different port can be specified via the first positional argument: `poetry run python src/main.py 9090`. \
21
30
A different configuration can be set using the `--config` option: `poetry run python src/main.py --config path/to/config.yml`.
22
31
23
-
### Docker
24
-
Create a Docker image using the provided Dockerfile:
25
-
```
26
-
docker build --tag asterisk-prometheus-exporter .
27
-
```
28
-
29
-
Run the Docker image and mount the configuration:
30
-
```
31
-
docker run -p 8080:8080 -v ./config.yml:/home/dev/asterisk-prometheus-exporter/config.yml asterisk-prometheus-exporter
32
-
```
33
-
The configured metrics can be accessed at http://localhost:8080.
34
-
35
32
## Configuration
36
33
This section shows the rough structure of the configuration. See `src/config_schema.yml` for a detailed description of the configuration and what is possible.
37
34
@@ -81,7 +78,7 @@ scrape:
81
78
labels:
82
79
- name: "queue"
83
80
value: "$Queue" # Use '$' to access attributes from the filtered event
0 commit comments