saikatharryc / pm2-prometheus-exporter

:rabbit: :rabbit: pm2 prometheus exporter
146 stars 37 forks source link

Dashboard not working #94

Open karamjb opened 1 year ago

karamjb commented 1 year ago

I installed the pm2-matrics to my pm2 server image

in the same server i am running the grafana server i added the prometheus.yaml to etc/grafana/provisioning/datasources/prometheus.yaml

# # config file version
apiVersion: 1

datasources:
  - name: Prometheus
    type: prometheus
    url: http://localhost:9209
    scrape_configs:
      - job_name: pm2-metrics
        scrape_interval: 10s
        scrape_timeout: 10s
        metrics_path: /metrics
        scheme: http
        static_configs:
          - targets:
            - localhost:9209

the dashboard not working

Thetoyer commented 11 months ago

Remove the scheme section

coderguy1998 commented 8 months ago

It still doesn't work after doing that.