added section tcp_components

This commit is contained in:
2025-05-04 12:45:17 +02:00
parent 70edfa3eeb
commit 0e8142e19c
5 changed files with 338 additions and 1 deletions

View File

@@ -44,6 +44,35 @@ metric_traefik_percent_http_components_not_ok = Metric(
color=Color.DARK_RED,
)
metric_traefik_num_tcp_routers = Metric(
name="traefik_num_tcp_routers",
title=Title("Number of TCP routers"),
unit=Unit(DecimalNotation("")),
color=Color.LIGHT_GREEN,
)
metric_traefik_num_tcp_services = Metric(
name="traefik_num_tcp_services",
title=Title("Number of TCP services"),
unit=Unit(DecimalNotation("")),
color=Color.LIGHT_BLUE,
)
metric_traefik_num_tcp_middlewares = Metric(
name="traefik_num_tcp_middlewares",
title=Title("Number of TCP middlewares"),
unit=Unit(DecimalNotation("")),
color=Color.LIGHT_RED,
)
metric_traefik_percent_tcp_components_not_ok = Metric(
name="traefik_percent_tcp_components_not_ok",
title=Title("Percent of TCP components in not OK state"),
unit=Unit(DecimalNotation("%")),
color=Color.DARK_RED,
)
perfometer_traefik_agent_execution_time = Perfometer(
name="traefik_agent_execution_time",