Hi,
in order to integrate the nextcloud metrics in the prometheus server I have installed the nextcloud-exporter. It is up and running:
PS C:\Users\xxxx> nextcloud-exporter --config-file .\DeepLab\nextcloud-exporter-config.yaml
level=info msg="nextcloud-exporter "
level=info msg="Nextcloud server: http://localhost:8080 User: admin"
level=info msg="Listen on :9205..."
and I can access localhost:9205/metrics.
Than I added the metrics to prometheus. (I installed prometheus server with helm charts like this:
helm install prometheus prometheus-community/prometheus -f .\prometheus-values.yaml --namespace prometheus
In the prometheus-values.yaml file I added the additional matrix:
- job_name: "nextcloud"
scrape_interval: 15s
static_configs:
- targets:
- localhost:9205
and I also tried this in the extraScrapeConfigs section.
Neither for fist nor for the second the nextcloud metrics are available in the prometheus server.
I did serveral chart updates with changed configuration, but always with the same result => the metrics are not displayed in prometheus