Skip to content

Commit

Permalink
change metrics name for coherence
Browse files Browse the repository at this point in the history
  • Loading branch information
charlienegri committed Oct 11, 2024
1 parent a283994 commit 8722cb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dmci/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
OK_RETURN = "Everything is OK"

FILE_DIST_FAIL = Counter("failed_file_dist", "Number of failed file_dist", ["path"])
CSW_DIST_FAIL = Counter("failed_csw_dist", "Number of failed csw_dist", ["path"])
CSW_DIST_FAIL = Counter("failed_pycsw_dist", "Number of failed csw_dist", ["path"])
SOLR_DIST_FAIL = Counter("failed_solr_dist", "Number of failed solr_dist", ["path"])


Expand Down
4 changes: 2 additions & 2 deletions tests/test_api/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def testApiApp_InsertUpdateRequests(client, monkeypatch):
"failed_file_dist_total", {"path": "/v1/insert"}
)
after_csw = REGISTRY.get_sample_value(
"failed_csw_dist_total", {"path": "/v1/insert"}
"failed_pycsw_dist_total", {"path": "/v1/insert"}
)
after_solr = REGISTRY.get_sample_value(
"failed_solr_dist_total", {"path": "/v1/insert"}
Expand All @@ -254,7 +254,7 @@ def testApiApp_InsertUpdateRequests(client, monkeypatch):
"failed_file_dist_total", {"path": "/v1/update"}
)
after_csw = REGISTRY.get_sample_value(
"failed_csw_dist_total", {"path": "/v1/update"}
"failed_pycsw_dist_total", {"path": "/v1/update"}
)
after_solr = REGISTRY.get_sample_value(
"failed_solr_dist_total", {"path": "/v1/update"}
Expand Down

0 comments on commit 8722cb1

Please sign in to comment.