Assume I have a histogram metric:
requestDuration = prometheus.NewHistogramVec(prometheus.HistogramOpts{
Name: "example_request_duration_seconds",
Help: "Histogram for the runtime of a simple example function.",
Buckets: prometheus.LinearBuckets(0.01, 0.01, 10),
}, []string{"label1"})
I would like to access properties like Help, Labels, Buckets, ConstLabels, Objectives, MaxAge, etc.. How can I do that?
I am basically trying to write unit tests to verify these properties with expected ones.