Skip to content

Conversation

@LucasMilotich
Copy link

Subsystem
Ktor-metrics-micrometer

Motivation
Feature: https://youtrack.jetbrains.com/issue/KTOR-3194

Sometimes you need to override default tags and the only way was using this sentence in MicrometerMetrics installation:
metrics.config().meterFilter(MeterFilter.ignoreTags($tag))

Solution
I've created a default tags field which allows to be overwritten in the configuration class.
Some fields/classes have to be internal in order to allow the client to access and customize tags using the call.

…OR-3194

� Conflicts:
�	ktor-features/ktor-metrics-micrometer/jvm/src/io/ktor/metrics/micrometer/MicrometerMetrics.kt
�	ktor-server/ktor-server-plugins/ktor-server-metrics-micrometer/jvm/test/io/ktor/server/metrics/micrometer/MicrometerMetricsTests.kt
@e5l e5l force-pushed the main branch 2 times, most recently from d084312 to 1ae2c1f Compare April 6, 2022 06:43
@e5l e5l self-assigned this Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants