keycloak-event-metrics/src/test/java/io/kokuwa/keycloak/metrics/prometheus/PrometheusMetric.java
Stephan Schnabel c8977d7175
First draft of implementation (#1)
* First draft of implementation

Readme will follow

* Rename id.

* Exclude `commons-io` to disable build warnings

* Simplify metrics and add documentation
2023-03-03 12:38:06 +01:00

13 lines
337 B
Java

package io.kokuwa.keycloak.metrics.prometheus;
import java.util.Map;
/**
* Represents a parsed Prometheus line.
*
* @author Stephan Schnabel
* @param name Metric name
* @param tags Tags for this metriv value
* @param value Metric value
*/
public record PrometheusMetric(String name, Map<String, String> tags, Double value) {}