2021-10-13 18:37:51 +03:00
|
|
|
"""Constants."""
|
2021-11-09 18:47:34 +03:00
|
|
|
from typing import List, Set
|
2021-10-13 18:37:51 +03:00
|
|
|
|
|
|
|
# These are fields we don't need for opmon views/explores/dashboards
|
|
|
|
OPMON_EXCLUDED_FIELDS: Set[str] = {
|
|
|
|
"submission",
|
|
|
|
"client_id",
|
|
|
|
"build_id",
|
|
|
|
"agg_type",
|
|
|
|
"value",
|
|
|
|
"histogram__VALUES",
|
|
|
|
"histogram__bucket_count",
|
|
|
|
"histogram__histogram_type",
|
|
|
|
"histogram__range",
|
|
|
|
"histogram__sum",
|
|
|
|
}
|
2021-11-09 18:47:34 +03:00
|
|
|
|
|
|
|
# These are fields we don't need for opmon dashboards
|
|
|
|
OPMON_DASH_EXCLUDED_FIELDS: List[str] = [
|
|
|
|
"branch",
|
|
|
|
"probe",
|
|
|
|
"histogram__VALUES__key",
|
|
|
|
"histogram__VALUES__value",
|
|
|
|
]
|