Skip to content

Commit

Permalink
fix(prism-agent): incorrect present proof metric name and remove conn…
Browse files Browse the repository at this point in the history
…ectionID from flow metrics (#720)

Signed-off-by: Shota Jolbordi <shota.jolbordi@iohk.io>
  • Loading branch information
shotexa committed Sep 15, 2023
1 parent 1f9ede3 commit 52e31b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ object BackgroundJobs {
@@ IssuerReceivedToPendingFailed.trackError
@@ IssuerReceivedToPendingAll
@@ Metric
.gauge("issuance_flow_issuer_cred_pending_to_generated_flow_ms_gauge")
.gauge("issuance_flow_issuer_cred_received_to_pending_flow_ms_gauge")
.trackDurationWith(_.toMetricsSeconds)

// Credential is pending, can be generated by Issuer and optionally published on-chain
Expand Down Expand Up @@ -416,7 +416,7 @@ object BackgroundJobs {
@@ IssuerPendingToGeneratedFailed.trackError
@@ IssuerPendingToGeneratedAll
@@ Metric
.gauge("issuance_flow_issuer_cred_received_to_pending_flow_ms_gauge")
.gauge("issuance_flow_issuer_cred_pending_to_generated_flow_ms_gauge")
.trackDurationWith(_.toMetricsSeconds)

// Credential has been generated and can be sent directly to the Holder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ object ConnectBackgroundJobs {
didCommAgent <- buildDIDCommAgent(response.from)
resp <- MessagingService.send(response.makeMessage).provideSomeLayer(didCommAgent) @@ Metric
.gauge("connection_flow_inviter_send_connection_response_ms_gauge")
.tagged("connectionId", record.id.toString)
.trackDurationWith(_.toMetricsSeconds)
connectionService <- ZIO.service[ConnectionService]
_ <- {
Expand Down

0 comments on commit 52e31b0

Please sign in to comment.