Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Kunjungan prometheus.Gauge Obat prometheus.Gauge User prometheus.Gauge Penyakit prometheus.Gauge KunjunganUpgrade *prometheus.CounterVec ObatUpgrade *prometheus.CounterVec UserUpgrade *prometheus.CounterVec PenyakitUpgrade *prometheus.CounterVec KunjunganHistory *prometheus.HistogramVec ObatHistory *prometheus.HistogramVec UserHistory *prometheus.HistogramVec PenyakitHistory *prometheus.HistogramVec }
type IPrometheus ¶
type IPrometheus interface {
SetGauge() *Data
}
func NewMetric ¶
func NewMetric(reg prometheus.Registerer) IPrometheus
Click to show internal directories.
Click to hide internal directories.