Skip to content

wazo-platform/wazo-prometheus-exporter-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wazo-prometheus-exporter-plugin

Adds /metrics to the wazo-auth service as well as Asterisk and Nginx

Installation

wazo-plugind-cli -c "install git https://github.com/wazo-platform/wazo-prometheus-exporter-plugin"

Metrics endpoints

  • asterisk /api/asterisk/metrics
  • nginx /api/nginx/metrics
  • rabbitmq /api/rabbitmq/metrics
  • wazo-auth /api/auth/0.1/metrics
  • wazo-calld /api/calld/1.0/metrics
  • wazo-chatd /api/chatd/1.0/metrics
  • wazo-dird /api/dird/0.1/metrics
  • wazo-sysconfd /api/sysconfd/metrics

Prometheus scrape config

On the prometheus instance server, those endpoints need to be configured in the prometheus config:

scrape_configs:
  ...
  - job_name: wazo-auth
    scheme: https
    tls_config:
      insecure_skip_verify: true
    metrics_path: /api/auth/0.1/metrics
    static_configs:
      - targets: ['localhost:443']
  - job_name: wazo-calld
    scheme: https
    tls_config:
      insecure_skip_verify: true
    metrics_path: /api/calld/1.0/metrics
    static_configs:
      - targets: ['localhost:443']
  - job_name: wazo-chatd
    scheme: https
    tls_config:
      insecure_skip_verify: true
    metrics_path: /api/chatd/1.0/metrics
    static_configs:
      - targets: ['localhost:443']
  - job_name: wazo-sysconfd
    scheme: https
    tls_config:
      insecure_skip_verify: true
    metrics_path: /api/sysconfd/metrics
    static_configs:
      - targets: ['localhost:443']
  - job_name: wazo-dird
    scheme: https
    tls_config:
      insecure_skip_verify: true
    metrics_path: /api/dird/0.1/metrics
    static_configs:
      - targets: ['localhost:443']
  - job_name: nginx
    scheme: https
    tls_config:
      insecure_skip_verify: true
    metrics_path: /api/nginx/metrics
    static_configs:
      - targets: ['localhost:443']
  - job_name: rabbitmq
    scheme: https
    tls_config:
      insecure_skip_verify: true
    metrics_path: /api/rabbitmq/metrics
    static_configs:
      - targets: ['localhost:443']
```

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •