mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
42 lines
882 B
Markdown
42 lines
882 B
Markdown
# Indico Prometheus Plugin
|
|
|
|
This plugin exposes a `/metrics` endpoint which provides Prometheus-compatible output.
|
|
|
|

|
|
|
|
## prometheus.yml
|
|
```yaml
|
|
scrape_configs:
|
|
- job_name: indico_stats
|
|
metrics_path: /metrics
|
|
scheme: https
|
|
static_configs:
|
|
- targets:
|
|
- yourindicoserver.example.com
|
|
# it is recommended that you set a bearer token in the config
|
|
authorization:
|
|
credentials: xxxxxx
|
|
# this is only needed in development setups
|
|
```
|
|
|
|
If you're doing development you may want to add this under `scrape_configs`:
|
|
```yaml
|
|
tls_config:
|
|
insecure_skip_verify: false
|
|
```
|
|
|
|
## Changelog
|
|
|
|
### 3.3
|
|
|
|
- Support (and require) Python 3.12
|
|
|
|
### 3.2.1
|
|
|
|
- Support Python 3.11
|
|
- Use latest prometheus-client library
|
|
|
|
### 3.2
|
|
|
|
- Initial release for Indico 3.2
|