Skip to content

Commit

Permalink
Merge pull request #96 from devtron-labs/event-names-fix
Browse files Browse the repository at this point in the history
feat: Event names fix as per prometheus
  • Loading branch information
prkhrkat committed Aug 7, 2024
1 parent 8e3f7e0 commit d96f824
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,14 @@ const (
)

// metrics name constants

const (
NATS_PUBLISH_COUNT = "Nats_Publish_Count"
NATS_CONSUMPTION_COUNT = "Nats_Consumption_Count"
NATS_CONSUMING_COUNT = "Nats_Consuming_Count"
NATS_EVENT_CONSUMPTION_TIME = "Nats_Event_Consumption_Time"
NATS_EVENT_PUBLISH_TIME = "Nats_Event_Publish_Time"
NATS_EVENT_DELIVERY_COUNT = "Nats_Event_Delivery_Count"
PANIC_RECOVERY_COUNT = "Panic_Recovery_Count"
NATS_PUBLISH_COUNT = "nats_publish_count"
NATS_CONSUMPTION_COUNT = "nats_consumption_count"
NATS_CONSUMING_COUNT = "nats_consuming_count"
NATS_EVENT_CONSUMPTION_TIME = "nats_event_consumption_time"
NATS_EVENT_PUBLISH_TIME = "nats_event_publish_time"
NATS_EVENT_DELIVERY_COUNT = "nats_event_delivery_count"
PANIC_RECOVERY_COUNT = "panic_recovery_count"
)

// metrics labels constant
Expand Down

0 comments on commit d96f824

Please sign in to comment.