You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Will place the error code error_code in the metrics section, similar to node_exporter.
# HELP promhttp_metric_handler_errors_total Total number of internal errors encountered by the promhttp metric handler.# TYPE promhttp_metric_handler_errors_total counter
promhttp_metric_handler_errors_total{cause="encoding"} 0
promhttp_metric_handler_errors_total{cause="gathering"} 0
Description
When enable prometheus exporter, there are lots of error clients events, so that the success rate is too low.
SRS Version: SRS 5.0
Start SRS origin server:
prometheus.yml
docker run --rm -v `pwd`/prometheus.yml:/etc/prometheus/prometheus.yml \ -p 9090:9090 prom/prometheus
Replay
Please describe how to replay the bug?
Step 1: Publish to SRS
Step 2: Stop FFmpeg.
Step 3: There is always an error
Step 4: Query prometheus by:
Expect
Ignore some disconnect events.
The text was updated successfully, but these errors were encountered: