You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit removes the following
* PROM_QUERY_START_TIME, PROM_QUERY_END_TIME since the config is only
used in kepler_model main.py to be used as default values.
* PROM_HEADERS: since the current format is a `str` and the expected
format for headers is `dict[str, str]` for header: value to be set in
http requests.
This is removed until get_config can handle parsing str -> dict[str, str]
Signed-off-by: Sunil Thaha <[email protected]>
Copy file name to clipboardExpand all lines: src/kepler_model/cmd/main.py
+4-7Lines changed: 4 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -27,10 +27,7 @@
27
27
load_pipeline_metadata,
28
28
)
29
29
fromkepler_model.util.prom_typesimport (
30
-
PROM_HEADERS,
31
-
PROM_QUERY_END_TIME,
32
30
PROM_QUERY_INTERVAL,
33
-
PROM_QUERY_START_TIME,
34
31
PROM_QUERY_STEP,
35
32
PROM_SERVER,
36
33
PROM_SSL_DISABLE,
@@ -85,7 +82,7 @@
85
82
86
83
87
84
arguments:
88
-
- --server : specify prometheus server URL (PROM_HEADERS and PROM_SSL_DISABLE configuration might be set via configmap or environment variables if needed)
85
+
- --server : specify prometheus server URL (PROM_SSL_DISABLE configuration may be set via configmap or environment variables if needed)
89
86
- --output : specify query output file name. There will be two files generated: [output].json and [output]_validate_result.csv for kepler query response and validated results.
0 commit comments