Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Metrics with different sets of labels can't be registered #78

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,13 @@ class PrometheusEndpointSinkTest extends fixture.FreeSpec with Matchers {
"append global labels to metric labels" in { fixture =>
val groupLabel = Map(
"cluster" -> Map(
"environment" ->"dev",
"environment" -> "dev",
"org" -> "organization",
),
"cluster2" -> Map(
"environment" -> "prod",
"org" -> "organization2",
"location" -> "canada"
)
)
val sink = PrometheusEndpointSink(Metrics.definitions, List(".*"), groupLabel, fixture.server, fixture.registry)
Expand Down