Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Prometheus is the open source monitoring system and time series database. WCS supports Prometheus metric format since build 5.2.416, no WCS setup is needed to integrate with Prometheus monitoring.

To set up Prometheus to collect WCS metrics, the following scrape configuration should be described in prometheus.yml

scrape_configs:
  - job_name: 'flashphoner'
    metrics_path: '/'
    params:
      action: [stat]
      format: [prometheus]
    static_configs:
      - targets: ['WCS_address:8081']

Where

  • WCS_address - WCS server address
  • 8081 - WCS server port to request metrics

As a result, Prometheus should form the following query

http://WCS_address:8081/?action=stat&format=prometheus

and receive WCS statistics metrics in its format.

Since build 5.2.518, metrics of published streams can be requested by the following query

http://WCS_address:8081/?action=stat&format=prometheus&groups=publish_streams
  • No labels