Sign inSign up

sflow/prometheus

By sflow

•Updated 20 days ago

Prometheus exporter

Image
Networking
Monitoring & observability
1

10K+

sflow/prometheus repository overview

⁠What is Prometheus exporter?

sflow-rt/prometheus⁠ is an sFlow-RT⁠ application that receives a continuous stream of telemetry from standard sFlow agents⁠ embedded in network devices, hosts and applications and exports metrics so that the Prometheus⁠ time series database can scrape them.

This image also includes sflow-rt/browse-drops⁠, sflow-rt/browse-flows⁠, sflow-rt/browse-metrics⁠, and sflow-rt/sunburst⁠ for exploring metrics.

⁠How to use this image

docker run -p 8008:8008 -p 6343:6343/udp sflow/prometheus

Run Prometheus exporter. Access web interface on port 8008.

docker run -p 8008:8008 -p 6343:6343/udp sflow/prometheus -Dsnmp.ifname=yes

Run Prometheus exporter, enabling SNMP polling of interface and system names.

scrape_configs:
  - job_name: 'sflow-rt-analyzer'
    metrics_path: /prometheus/analyzer/txt
    static_configs:
      - targets: ['192.168.1.243:8008']
  - job_name: 'sflow-rt-metrics'
    metrics_path: /prometheus/metrics/ALL/ALL/txt
    static_configs:
      - targets: ['192.168.1.243:8008']
  - job_name: 'sflow-rt-flow-src-dst-bps'
    metrics_path: /app/prometheus/scripts/export.js/flows/ALL/txt
    static_configs:
      - targets: ['192.168.1.243:8008']
    params:
      metric: ['ip_src_dst_bps']
      key: ['ipsource','ipdestination']
      label: ['src','dst']
      value: ['bytes']
      scale: ['8']
      minValue: ['1000']
      maxFlows: ['100']

Configure Prometheus to scrape the metrics. In above example, Prometheus exporter is running on host 192.168.1.243.

The following Grafana⁠ dashboards provide examples: sFlow-RT Countries and Networks⁠, sFlow-RT Network Interfaces⁠, and sFlow-RT Health⁠.

See sflow/sflow-rt⁠ for additional settings available in the base image.

⁠Documentation and support

Visit sFlow-RT⁠ for documentation, tutorials, and community support.

⁠License

Please read and accept the License Agreement⁠ before downloading this software.

Tag summary

Content type

Image

Digest

sha256:4305571a3…

Size

50.8 MB

Last updated

20 days ago

docker pull sflow/prometheus