Skip to content
Snippets Groups Projects
Commit a733333f authored by Lorenz Boguhn's avatar Lorenz Boguhn
Browse files

Add Reflection to PromResponse

parent 88bebf9d
No related branches found
No related tags found
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!108Feature/185 Make Paths Configurable,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus
package theodolite.util package theodolite.util
import io.quarkus.runtime.annotations.RegisterForReflection
@RegisterForReflection
data class PrometheusResponse( data class PrometheusResponse(
var status: String? = null, var status: String? = null,
var data: PromData? = null var data: PromData? = null
) )
@RegisterForReflection
data class PromData( data class PromData(
var resultType: String? = null, var resultType: String? = null,
var result: List<PromResult>? = null var result: List<PromResult>? = null
) )
@RegisterForReflection
data class PromResult( data class PromResult(
var metric: PromMetric? = null, var metric: PromMetric? = null,
var values: List<Any>? = null var values: List<Any>? = null
) )
@RegisterForReflection
data class PromMetric( data class PromMetric(
var group: String? = null var group: String? = null
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment