Skip to content

Commit

Permalink
allegro-internal/flex-roadmap#819 Migrated metrics to prometheus (lint)
Browse files Browse the repository at this point in the history
  • Loading branch information
nastassia-dailidava committed Oct 7, 2024
1 parent be4e0cd commit 0f267be
Showing 1 changed file with 16 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@ import io.micrometer.core.instrument.Tags
import io.micrometer.core.instrument.noop.NoopTimer

val noopTimer = NoopTimer(Meter.Id("", Tags.empty(), null, null, Meter.Type.TIMER))
val reactorMetricName = "reactor"
val errorsMetricName = "errors.count"
val connectionsMetricName = "connections"
val requestsMetricName = "requests.total"
val connectionTypeTag = "connection-type"
val streamTypeTag = "stream-type"
val discoveryReqTypeTag = "discovery-request-type"
val metricTypeTag = "metric-type"
val metricEmitterTag = "metric-emitter"
val snapshotStatusTag = "snapshot-status"
val updateTriggerTag = "update-trigger"
val serviceTag = "service"
val operationTag = "operation"
val clusterTag = "cluster"
val statusTag = "status"
const val reactorMetricName = "reactor"
const val errorsMetricName = "errors.total"
const val connectionsMetricName = "connections"
const val requestsMetricName = "requests.total"

const val connectionTypeTag = "connection-type"
const val streamTypeTag = "stream-type"
const val discoveryReqTypeTag = "discovery-request-type"
const val metricTypeTag = "metric-type"
const val metricEmitterTag = "metric-emitter"
const val snapshotStatusTag = "snapshot-status"
const val updateTriggerTag = "update-trigger"
const val serviceTag = "service"
const val operationTag = "operation"
const val clusterTag = "cluster"
const val statusTag = "status"

0 comments on commit 0f267be

Please sign in to comment.