Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

list metric for prometheus

248 views
Skip to first unread message

Dzung Nguyen

unread,
Jun 12, 2024, 10:04:26 AM6/12/24
to sFlow-RT
I use sflow-rt for monitor network, is there anyone have list all metric for promrtheus

Peter Phaal

unread,
Jun 12, 2024, 10:40:25 AM6/12/24
to sFlow-RT
The list of metrics (based on sFlow counter exports) that sFlow-RT can report is listed here:

The actual metrics you will see depends on the capabilities of the sFlow agents sending telemetry to sFlow-RT. The /prometheus/metrics/ALL/ALL/txt REST API call dumps the metrics in Prometheus scrape format using the sflow_ prefix for each metric name. The following example shows how to create a Prometheus/Grafana dashboard of interface counters:
Note: You can be selective about the metrics exported, see the REST API documentation for the /prometheus/metrics/*/*/txt query under the sFlow-RT API tab.

There are also some sFlow-RT health statistics available at /prometheus/analyzer/txt and the following shows how to use them in a dashboard:

The sFlow-RT Prometheus app, https://github.com/sflow-rt/prometheus, allows you to define flow metrics for Prometheus.

Finally, if you want to streamline the process of building an sFlow-RT, Prometheus, Grafana monitoring stack, take a look at the Docker Compose example:

Peter Phaal

unread,
Sep 30, 2024, 10:04:08 AM9/30/24
to Dzung Nguyen, sFlow-RT
Please don't drop the list when replying.

In order to get flow metrics with FPS as the value, use value:"frames" in the flow definition. You could also use value:"rate:frames", but "rate:" is the default value function, so doesn't need to be explicitly included, see https://sflow-rt.com/define_flow.php 

On Sun, Sep 29, 2024 at 8:51 PM Dzung Nguyen <dzung...@gmail.com> wrote:
I found metric to get bps by IP, but I not found any metric to get FPS,  can you suggest for this

Vào lúc 21:40:25 UTC+7 ngày Thứ Tư, 12 tháng 6, 2024, peter...@gmail.com đã viết:

Dzung Nguyen

unread,
Oct 1, 2024, 12:13:26 AM10/1/24
to sFlow-RT
I found that, thank you
I want to show souce port and, dst port for both UDP and TCP, as attachment, but if I filter tcpport I can not get udp port 
This is fillter from sflow-rt
screenshot_1727755915.png
This is I want to show
screenshot_1727755808.png

Vào lúc 21:04:08 UTC+7 ngày Thứ Hai, 30 tháng 9, 2024, peter...@gmail.com đã viết:

Peter Phaal

unread,
Oct 14, 2024, 4:53:15 PM10/14/24
to sFlow-RT
You can use the or: function in the flow keys, e.g. or:tcpsourceport:udpsourceport,or:tcpdestinationport:udpdestinationport

For more information, see Defining Flows 

Dzung Nguyen

unread,
Oct 14, 2024, 9:29:42 PM10/14/24
to Peter Phaal, sFlow-RT
I found it running, thank you

Vào Th 3, 15 thg 10, 2024 vào lúc 03:53 Peter Phaal <peter...@gmail.com> đã viết:
--
You received this message because you are subscribed to the Google Groups "sFlow-RT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sflow-rt+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sflow-rt/13636e9c-2448-4d91-987a-cc872547f8dfn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages