11 lines
257 B
Python
11 lines
257 B
Python
from datetime import timedelta
|
|
from typing import Final
|
|
|
|
# Match the default scrape_interval in Prometheus
|
|
SCAN_INTERVAL: Final = timedelta(seconds=15)
|
|
|
|
DEFAULT_URL: Final = "http://localhost:9090"
|
|
|
|
CONF_QUERIES: Final = "queries"
|
|
CONF_EXPR: Final = "expr"
|