added section traefik_http_components
This commit is contained in:
@@ -15,6 +15,36 @@ metric_traefik_agent_execution_time = Metric(
|
||||
color=Color.DARK_ORANGE,
|
||||
)
|
||||
|
||||
metric_traefik_num_http_routers = Metric(
|
||||
name="traefik_num_http_routers",
|
||||
title=Title("Number of HTTP routers"),
|
||||
unit=Unit(DecimalNotation("")),
|
||||
color=Color.LIGHT_GREEN,
|
||||
)
|
||||
|
||||
metric_traefik_num_http_services = Metric(
|
||||
name="traefik_num_http_services",
|
||||
title=Title("Number of HTTP services"),
|
||||
unit=Unit(DecimalNotation("")),
|
||||
color=Color.LIGHT_BLUE,
|
||||
)
|
||||
|
||||
metric_traefik_num_http_middlewares = Metric(
|
||||
name="traefik_num_http_middlewares",
|
||||
title=Title("Number of HTTP middlewares"),
|
||||
unit=Unit(DecimalNotation("")),
|
||||
color=Color.LIGHT_RED,
|
||||
)
|
||||
|
||||
|
||||
metric_traefik_percent_http_components_not_ok = Metric(
|
||||
name="traefik_percent_http_components_not_ok",
|
||||
title=Title("Percent of HTTP components in not OK state"),
|
||||
unit=Unit(DecimalNotation("%")),
|
||||
color=Color.DARK_RED,
|
||||
)
|
||||
|
||||
|
||||
perfometer_traefik_agent_execution_time = Perfometer(
|
||||
name="traefik_agent_execution_time",
|
||||
focus_range=FocusRange(Closed(0), Closed(100)),
|
||||
|
||||
Reference in New Issue
Block a user