Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metrics: use labels for enums #3459

Open
ripatel-fd opened this issue Nov 16, 2024 · 0 comments
Open

metrics: use labels for enums #3459

ripatel-fd opened this issue Nov 16, 2024 · 0 comments

Comments

@ripatel-fd
Copy link
Contributor

Instead of

# HELP quic_stream_closed_end Number of streams closed. (gracefully closed)
# TYPE quic_stream_closed_end counter
quic_stream_closed_end{kind="quic",kind_id="0"} 294964918

# HELP quic_stream_closed_peer_reset Number of streams closed. (RESET_STREAM event received)
# TYPE quic_stream_closed_peer_reset counter
quic_stream_closed_peer_reset{kind="quic",kind_id="0"} 0

# HELP quic_stream_closed_peer_stop Number of streams closed. (STOP_SENDING events received)
# TYPE quic_stream_closed_peer_stop counter
quic_stream_closed_peer_stop{kind="quic",kind_id="0"} 0

# HELP quic_stream_closed_drop Number of streams closed. (dropped due to excessive concurrency)
# TYPE quic_stream_closed_drop counter
quic_stream_closed_drop{kind="quic",kind_id="0"} 148732482

# HELP quic_stream_closed_conn_abort Number of streams closed. (connection abort)
# TYPE quic_stream_closed_conn_abort counter
quic_stream_closed_conn_abort{kind="quic",kind_id="0"} 25101618

Generate

# HELP quic_stream_closed_end Number of streams closed. 
# TYPE quic_stream_closed_end counter
quic_stream_closed{kind="quic",kind_id="0",quic_stream_close="end"} 294964918
quic_stream_closed{kind="quic",kind_id="0",quic_stream_close="peer_reset"} 0
quic_stream_closed{kind="quic",kind_id="0",quic_stream_close="peer_stop"} 0
quic_stream_closed{kind="quic",kind_id="0",quic_stream_close="drop"} 148732482
quic_stream_closed{kind="quic",kind_id="0",quic_stream_close="conn_abort"} 25101618
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant