go.opencensus.io/metric/metricdata.Metric.Descriptor (field)
17 uses
go.opencensus.io/metric/metricdata (current package)
metric.go#L35: Descriptor Descriptor // metric descriptor
go.opencensus.io/stats/view
view_to_metric.go#L147: Descriptor: *v.metricDescriptor,
contrib.go.opencensus.io/exporter/prometheus
prometheus.go#L145: metric.Descriptor.Description,
prometheus.go#L146: toPromLabels(metric.Descriptor.LabelKeys),
prometheus.go#L206: return name + sanitize(m.Descriptor.Name)
prometheus.go#L214: switch metric.Descriptor.Type {
prometheus.go#L248: return nil, fmt.Errorf("aggregation %T is not yet supported", metric.Descriptor.Type)
contrib.go.opencensus.io/exporter/stackdriver
metrics.go#L145: metricName := metric.Descriptor.Name
metrics.go#L147: metricLabelKeys := metric.Descriptor.LabelKeys
metrics.go#L174: labels, mr = se.o.ResourceByDescriptor(&metric.Descriptor, labels)
metrics.go#L234: name := metric.Descriptor.Name
metrics.go#L265: metricType := se.metricTypeFromProto(metric.Descriptor.Name)
metrics.go#L266: displayName := se.displayName(metric.Descriptor.Name)
metrics.go#L272: Description: metric.Descriptor.Description,
metrics.go#L273: Unit: string(metric.Descriptor.Unit),
metrics.go#L277: Labels: metricLableKeysToLabels(se.defaultLabels, metric.Descriptor.LabelKeys),
metrics.go#L311: switch m.Descriptor.Type {
 |
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. |