added section tcp_components
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user