type github.com/prometheus/client_golang/prometheus.Metric
56 uses
github.com/prometheus/client_golang/prometheus (current package)
collector.go#L62: Collect(chan<- Metric)
collector.go#L88: metrics := make(chan Metric)
collector.go#L102: self Metric
collector.go#L108: func (c *selfCollector) init(self Metric) {
collector.go#L118: func (c *selfCollector) Collect(ch chan<- Metric) {
counter.go#L34: Metric
counter.go#L137: metricVec: newMetricVec(desc, func(lvs ...string) Metric {
counter.go#L258: Metric
expvar_collector.go#L76: func (e *expvarCollector) Collect(ch chan<- Metric) {
expvar_collector.go#L78: var m Metric
gauge.go#L33: Metric
gauge.go#L148: metricVec: newMetricVec(desc, func(lvs ...string) Metric {
gauge.go#L269: Metric
go_collector.go#L300: func (c *goCollector) Collect(ch chan<- Metric) {
go_collector.go#L355: func (c *goCollector) msCollect(ch chan<- Metric, ms *runtime.MemStats) {
histogram.go#L45: Metric
histogram.go#L374: metricVec: newMetricVec(desc, func(lvs ...string) Metric {
histogram.go#L542: ) (Metric, error) {
histogram.go#L566: ) Metric {
metric.go#L31: type Metric interface {
metric.go#L141: func NewInvalidMetric(desc *Desc, err error) Metric {
metric.go#L150: Metric
metric.go#L173: func NewMetricWithTimestamp(t time.Time, m Metric) Metric {
process_collector.go#L22: collectFn func(chan<- Metric)
process_collector.go#L119: c.collectFn = func(ch chan<- Metric) {
process_collector.go#L139: func (c *processCollector) Collect(ch chan<- Metric) {
process_collector.go#L143: func (c *processCollector) reportError(ch chan<- Metric, desc *Desc, err error) {
process_collector_other.go#L27: func (c *processCollector) processCollect(ch chan<- Metric) {
registry.go#L408: checkedMetricChan = make(chan Metric, capMetricChan)
registry.go#L409: uncheckedMetricChan = make(chan Metric, capMetricChan)
registry.go#L583: metric Metric,
summary.go#L54: Metric
summary.go#L537: metricVec: newMetricVec(desc, func(lvs ...string) Metric {
summary.go#L706: ) (Metric, error) {
summary.go#L730: ) Metric {
untyped.go#L25: Metric
value.go#L82: func NewConstMetric(desc *Desc, valueType ValueType, value float64, labelValues ...string) (Metric, error) {
value.go#L99: func MustNewConstMetric(desc *Desc, valueType ValueType, value float64, labelValues ...string) Metric {
vec.go#L39: func newMetricVec(desc *Desc, newMetric func(lvs ...string) Metric) *metricVec {
vec.go#L127: func (m *metricVec) getMetricWithLabelValues(lvs ...string) (Metric, error) {
vec.go#L136: func (m *metricVec) getMetricWith(labels Labels) (Metric, error) {
vec.go#L201: metric Metric
vec.go#L216: newMetric func(labelValues ...string) Metric
vec.go#L226: func (m *metricMap) Collect(ch chan<- Metric) {
vec.go#L306: ) Metric {
vec.go#L331: ) Metric {
vec.go#L354: ) (Metric, bool) {
vec.go#L368: ) (Metric, bool) {
wrap.go#L112: func (c *wrappingCollector) Collect(ch chan<- Metric) {
wrap.go#L113: wrappedCh := make(chan Metric)
wrap.go#L148: wrappedMetric Metric
github.com/prometheus/client_golang/prometheus/promhttp
instrument_server.go#L206: m prometheus.Metric
contrib.go.opencensus.io/exporter/prometheus
prometheus.go#L130: func (c *collector) Collect(ch chan<- prometheus.Metric) {
prometheus.go#L152: metricCh chan<- prometheus.Metric
prometheus.go#L213: labelValues []string) (prometheus.Metric, error) {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |