diff --git a/http/src/main/scala/org/broadinstitute/dsde/workbench/leonardo/auth/SamAuthProvider.scala b/http/src/main/scala/org/broadinstitute/dsde/workbench/leonardo/auth/SamAuthProvider.scala index 33ccda0d45..b8ad2462c8 100644 --- a/http/src/main/scala/org/broadinstitute/dsde/workbench/leonardo/auth/SamAuthProvider.scala +++ b/http/src/main/scala/org/broadinstitute/dsde/workbench/leonardo/auth/SamAuthProvider.scala @@ -472,7 +472,7 @@ class SamAuthProvider[F[_]: OpenTelemetryMetrics]( case Left(error) => logger.warn(Map("traceId" -> traceId.asString))( s"Unable to populate workspace ID for google project $googleProject: $error" - ) >> metrics.incrementCounter(metricName, tags = Map("failed" -> "true")) + ) >> metrics.incrementCounter(metricName, tags = Map("succeeded" -> "false")) } } yield workspaceId.toOption diff --git a/http/src/main/scala/org/broadinstitute/dsde/workbench/leonardo/dao/HttpSamDAO.scala b/http/src/main/scala/org/broadinstitute/dsde/workbench/leonardo/dao/HttpSamDAO.scala index 77cf71456f..c9c935dd21 100644 --- a/http/src/main/scala/org/broadinstitute/dsde/workbench/leonardo/dao/HttpSamDAO.scala +++ b/http/src/main/scala/org/broadinstitute/dsde/workbench/leonardo/dao/HttpSamDAO.scala @@ -575,7 +575,7 @@ class HttpSamDAO[F[_]](httpClient: Client[F], override def getResourceParent(authHeader: Authorization, resource: SamResourceId)(implicit ev: Ask[F, TraceId] ): F[Option[GetResourceParentResponse]] = for { - _ <- metrics.incrementCounter("sam/getParentResource") + _ <- metrics.incrementCounter("sam/getResourceParent") resp <- httpClient.expectOptionOr[GetResourceParentResponse]( Request[F]( method = Method.GET,