# Functions
MetadataFuncFromContext extracts a MetataFunc from ctx.
New returns a new Cloud Monitoring Exporter.
NewAltTokenSource constructs a new alternate token source for generating tokens.
NewStorage returns a new Prometheus storage that's exporting data via the exporter.
NopExporter returns a permanently inactive exporter.
NopLease returns a lease that disables leasing.
Version is used in the User Agent.
WithMetadataFunc stores mf in the context.
# Constants
BatchSizeMax represents maximum number of samples to pack into a batch sent to GCM.
ClientName is used to identify the User Agent.
Supported gRPC compression formats.
Supported gRPC compression formats.
DefaultShardBufferSize represents the buffer size for each individual shard.
DefaultShardCount represents number of shards by which series are bucketed.
The target label keys used for the Prometheus monitored resource.
The target label keys used for the Prometheus monitored resource.
The target label keys used for the Prometheus monitored resource.
The target label keys used for the Prometheus monitored resource.
The target label keys used for the Prometheus monitored resource.
The target label keys used for the Prometheus monitored resource.
Prefix for GCM metric.
# Variables
No description provided by the author
# Structs
AltTokenSource is the structure holding the data for the functionality needed to generates tokens.
EfficiencyOpts represents exporter options that allows fine-tuning of internal data structure sizes.
Exporter converts Prometheus samples into Cloud Monitoring samples and exports them.
ExporterOpts holds options for an exporter.
MetricMetadata is a copy of MetricMetadata in Prometheus's scrape package.
Storage provides a stateful wrapper around an Exporter that implements Prometheus's storage interface (Appendable).
# Interfaces
Lease determines a currently owned time range.
# Type aliases
Matchers holds a list of metric selectors that can be set as a flag.
MetadataFunc gets metadata for a specific metric name.