type github.com/prometheus/client_golang/prometheus.Desc
78 uses
github.com/prometheus/client_golang/prometheus (current package)
collector.go#L49: Describe(chan<- *Desc)
collector.go#L87: func DescribeByCollect(c Collector, descs chan<- *Desc) {
collector.go#L113: func (c *selfCollector) Describe(ch chan<- *Desc) {
counter.go#L78: desc *Desc
counter.go#L83: func (c *counter) Desc() *Desc {
desc.go#L45: type Desc struct {
desc.go#L78: func NewDesc(fqName, help string, variableLabels []string, constLabels Labels) *Desc {
desc.go#L79: d := &Desc{
desc.go#L164: func NewInvalidDesc(err error) *Desc {
desc.go#L165: return &Desc{
desc.go#L170: func (d *Desc) String() string {
expvar_collector.go#L22: exports map[string]*Desc
expvar_collector.go#L62: func NewExpvarCollector(exports map[string]*Desc) Collector {
expvar_collector.go#L69: func (e *expvarCollector) Describe(ch chan<- *Desc) {
gauge.go#L86: desc *Desc
gauge.go#L90: func (g *gauge) Desc() *Desc {
go_collector.go#L24: goroutinesDesc *Desc
go_collector.go#L25: threadsDesc *Desc
go_collector.go#L26: gcDesc *Desc
go_collector.go#L27: goInfoDesc *Desc
go_collector.go#L289: func (c *goCollector) Describe(ch chan<- *Desc) {
go_collector.go#L363: desc *Desc
histogram.go#L166: func newHistogram(desc *Desc, opts HistogramOpts, labelValues ...string) Histogram {
histogram.go#L246: desc *Desc
histogram.go#L259: func (h *histogram) Desc() *Desc {
histogram.go#L487: desc *Desc
histogram.go#L494: func (h *constHistogram) Desc() *Desc {
histogram.go#L537: desc *Desc,
histogram.go#L561: desc *Desc,
metric.go#L37: Desc() *Desc
metric.go#L134: desc *Desc
metric.go#L141: func NewInvalidMetric(desc *Desc, err error) Metric {
metric.go#L145: func (m *invalidMetric) Desc() *Desc { return m.desc }
process_collector.go#L25: cpuTotal *Desc
process_collector.go#L26: openFDs, maxFDs *Desc
process_collector.go#L27: vsize, maxVsize *Desc
process_collector.go#L28: rss *Desc
process_collector.go#L29: startTime *Desc
process_collector.go#L128: func (c *processCollector) Describe(ch chan<- *Desc) {
process_collector.go#L143: func (c *processCollector) reportError(ch chan<- Metric, desc *Desc, err error) {
registry.go#L267: descChan = make(chan *Desc, capDescChan)
registry.go#L362: descChan = make(chan *Desc, capDescChan)
registry.go#L911: desc *Desc,
summary.go#L171: func newSummary(desc *Desc, opts SummaryOpts, labelValues ...string) Summary {
summary.go#L253: desc *Desc
summary.go#L272: func (s *summary) Desc() *Desc {
summary.go#L414: desc *Desc
summary.go#L426: func (s *noObjectivesSummary) Desc() *Desc {
summary.go#L650: desc *Desc
summary.go#L657: func (s *constSummary) Desc() *Desc {
summary.go#L701: desc *Desc,
summary.go#L725: desc *Desc,
value.go#L44: desc *Desc
value.go#L56: func newValueFunc(desc *Desc, valueType ValueType, function func() float64) *valueFunc {
value.go#L67: func (v *valueFunc) Desc() *Desc {
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 {
value.go#L108: desc *Desc
value.go#L114: func (m *constMetric) Desc() *Desc {
value.go#L142: func makeLabelPairs(desc *Desc, labelValues []string) []*dto.LabelPair {
vec.go#L39: func newMetricVec(desc *Desc, newMetric func(lvs ...string) Metric) *metricVec {
vec.go#L215: desc *Desc
vec.go#L221: func (m *metricMap) Describe(ch chan<- *Desc) {
vec.go#L394: desc *Desc, metrics []metricWithLabelValues, labels Labels, curry []curriedLabelValue,
vec.go#L425: func matchLabels(desc *Desc, values []string, labels Labels, curry []curriedLabelValue) bool {
vec.go#L445: func extractLabelValues(desc *Desc, labels Labels, curry []curriedLabelValue) []string {
wrap.go#L127: func (c *wrappingCollector) Describe(ch chan<- *Desc) {
wrap.go#L128: wrappedCh := make(chan *Desc)
wrap.go#L153: func (m *wrappingMetric) Desc() *Desc {
wrap.go#L175: func wrapDesc(desc *Desc, prefix string, labels Labels) *Desc {
wrap.go#L182: return &Desc{
github.com/prometheus/client_golang/prometheus/promhttp
instrument_server.go#L205: desc *prometheus.Desc
instrument_server.go#L212: descc := make(chan *prometheus.Desc, 1)
contrib.go.opencensus.io/exporter/prometheus
prometheus.go#L121: func (c *collector) Describe(ch chan<- *prometheus.Desc) {
prometheus.go#L142: func (c *collector) toDesc(metric *metricdata.Metric) *prometheus.Desc {
prometheus.go#L181: descCh chan<- *prometheus.Desc
prometheus.go#L210: desc *prometheus.Desc,
 |
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. |