Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vitaliy committed Mar 4, 2025
1 parent f568003 commit 4c678a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/scala/services/base/DeclaredMetrics.scala
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
package com.sneaksanddata.arcane.framework
package services.base

import zio.metrics.Metric
import zio.metrics.Metric.Counter

/**
* A object that contains the declared metrics names.
*/
object DeclaredMetrics:
/**
* Number of rows received from the source
*/
val ROWS_INCOMING = "rows.incoming"
val rowsIncoming: Counter[Long] = Metric.counter("rows_incoming")

0 comments on commit 4c678a7

Please sign in to comment.