Skip to content

Commit

Permalink
fix: metric name (#79)
Browse files Browse the repository at this point in the history
Signed-off-by: Nandita Koppisetty <[email protected]>
  • Loading branch information
nkoppisetty authored Feb 9, 2023
1 parent 9717694 commit e289a90
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion numaprom/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"model_config": MODEL_CONFIG["fuzzy_rollouts"],
"output_config": OUTPUT_CONFIG["fuzzy_rollouts"],
},
"namespace_rollout_error_rate": {
"namespace_rollout_api_error_rate": {
"keys": ["namespace", "name", "hash_id"],
"scrape_interval": 30,
"model_config": MODEL_CONFIG["fuzzy_rollouts"],
Expand Down
3 changes: 3 additions & 0 deletions numaprom/udf/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ def _publish(final_score: float, payload: StreamPayload) -> List[bytes]:
_LOGGER.info("%s - Payload sent to publisher: %s", payload.uuid, publisher_json)

if model_config["name"] == "default":
_LOGGER.debug(
"%s - Using default config, cannot generate a unified anomaly score", payload.uuid
)
return [publisher_json]

try:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "numalogic-prometheus"
version = "0.1.5a3"
version = "0.1.5a4"
description = "ML inference on numaflow using numalogic on Prometheus metrics"
authors = ["Numalogic developers"]
packages = [{ include = "numaprom" }]
Expand Down

0 comments on commit e289a90

Please sign in to comment.