MCPcopy Create free account

hub / github.com/prometheus/common / types & classes

Types & classes97 in github.com/prometheus/common

↓ 10 callersTypeAliasSampleValue
A SampleValue is a representation of a value for a given sample at a given time.
model/value_float.go:32
↓ 8 callersTypeAliasLabelName
A LabelName is a key for a LabelSet or Metric. It has a value associated therewith.
model/labels.go:98
↓ 8 callersTypeAliasLabelValue
A LabelValue is an associated value for a LabelName.
model/labels.go:165
↓ 6 callersTypeAliasMetric
A Metric is similar to a LabelSet, but the key difference is that a Metric is a singleton and refers to one and only one stream of samples.
model/metric.go:30
↓ 6 callersTypeAliasTime
Time is the number of milliseconds since the epoch (1970-01-01 00:00 UTC) excluding leap seconds.
model/time.go:45
↓ 5 callersTypeAliasFingerprint
Fingerprint provides a hash-capable representation of a Metric. For our purposes, FNV-1A 64-bit is used.
model/fingerprinting.go:23
↓ 5 callersTypeAliasLabelSet
A LabelSet is a collection of LabelName and LabelValue pairs. The LabelSet may be fully-qualified down to the point where it may resolve to a single
model/labelset.go:28
↓ 3 callersTypeAliasparam
route/route.go:23
↓ 2 callersTypeAliasSecret
Secret special type for storing secrets.
config/config.go:28
↓ 2 callersTypeAliasTLSVersion
config/http_config.go:62
↓ 1 callersTypeAliasDuration
Duration wraps time.Duration. It is used to parse the custom duration format from YAML. This type should not propagate beyond the scope of input/outpu
model/time.go:171
↓ 1 callersTypeAliasFloatString
model/value_histogram.go:23
↓ 1 callersTypeAliasLabelNames
LabelNames is a sortable LabelName slice. In implements sort.Interface.
model/labels.go:142
↓ 1 callersTypeAliasMetricType
MetricType represents metric type values.
model/metadata.go:17
↓ 1 callersTypeAliasaccept_slice
For internal use, so that we can use the sort interface
internal/bitbucket.org/ww/goautoneg/autoneg.go:55
StructAccept
Structure to represent a clause in an HTTP Accept Header
internal/bitbucket.org/ww/goautoneg/autoneg.go:48
StructAlert
Alert is a generic representation of an alert in the Prometheus eco-system.
model/alert.go:29
TypeAliasAlertStatus
model/alert.go:21
TypeAliasAlerts
Alert is a list of alerts that can be sorted in chronological order.
model/alert.go:105
StructAllowedFormat
AllowedFormat is a settable identifier for the output format that the logger can have.
promlog/log.go:89
StructAllowedLevel
AllowedLevel is a settable identifier for the minimum level a log entry must be have.
promlog/log.go:44
StructAuthorization
Authorization contains HTTP authorization credentials.
config/http_config.go:147
StructBasicAuth
BasicAuth contains basic HTTP authentication credentials.
config/http_config.go:130
InterfaceCloser
Closer is implemented by Encoders that need to be closed to finalize encoding. (For example, OpenMetrics needs a final `# EOF` line.) Note that all E
expfmt/encode.go:41
StructConfig
Config is a struct containing configurable settings for the logger
promlog/log.go:109
StructDecodeOptions
DecodeOptions contains options used by the Decoder and in sample extraction.
expfmt/decode.go:36
InterfaceDecoder
Decoder types decode an input stream into metric families.
expfmt/decode.go:31
FuncTypeDialContextFunc
DialContextFunc defines the signature of the DialContext() function implemented by net.Dialer.
config/http_config.go:425
InterfaceDirectorySetter
DirectorySetter is a config type that contains file paths that may be relative to the file containing the config.
config/config.go:77
InterfaceEncoder
Encoder types encode metric families into an underlying wire protocol.
expfmt/encode.go:30
StructFile
assets/embed_gzip.go:63
StructFileInfo
assets/embed_gzip.go:99
StructFileSystem
assets/embed_gzip.go:28
TypeAliasFingerprintSet
FingerprintSet is a set of Fingerprints.
model/fingerprinting.go:64
TypeAliasFingerprints
Fingerprints represents a collection of Fingerprint subject to a given natural sorting scheme. It implements sort.Interface.
model/fingerprinting.go:46
TypeAliasFormat
Format specifies the HTTP content type of the different wire protocols.
expfmt/expfmt.go:18
StructHTTPClientConfig
HTTPClientConfig configures an HTTP client.
config/http_config.go:289
FuncTypeHTTPClientOption
HTTPClientOption defines an option that can be applied to the HTTP client.
config/http_config.go:436
TypeAliasHeader
config/config.go:52
StructHistogramBucket
model/value_histogram.go:45
TypeAliasHistogramBuckets
model/value_histogram.go:107
StructInterval
Interval describes an interval between two timestamps.
model/time.go:48
StructLabelPair
LabelPair pairs a name with a value.
model/labels.go:188
TypeAliasLabelPairs
LabelPairs is a sortable slice of LabelPair pointers. It implements sort.Interface.
model/labels.go:195
TypeAliasLabelValues
LabelValues is a sortable LabelValue slice. It implements sort.Interface.
model/labels.go:173
StructMatcher
Matcher describes a matches the value of a given label.
model/silence.go:24
TypeAliasMatrix
Matrix is a list of time series.
model/value.go:346
StructOAuth2
OAuth2 is the oauth2 client configuration.
config/http_config.go:226
StructParseError
ParseError signals errors while parsing the simple and flat text-based exchange format.
expfmt/text_parse.go:41
StructProxyConfig
config/http_config.go:1196
StructRouter
Router wraps httprouter.Router and adds support for prefixed sub-routers, per-request context injections and instrumentation.
route/route.go:41
StructSample
Sample is a sample pair associated with a metric. A single sample must either define Value or Histogram but not both. Histogram == nil implies the Val
model/value.go:34
StructSampleDecoder
SampleDecoder wraps a Decoder to extract samples from the metric families decoded by the wrapped Decoder.
expfmt/decode.go:150
StructSampleHistogram
model/value_histogram.go:122
StructSampleHistogramPair
model/value_histogram.go:136
StructSamplePair
SamplePair pairs a SampleValue with a Timestamp.
model/value_float.go:67
StructSampleStream
SampleStream is a stream of Values belonging to an attached COWMetric.
model/value.go:175
TypeAliasSamples
Samples is a sortable Sample slice. It implements sort.Interface.
model/value.go:136
StructScalar
Scalar is a scalar value evaluated at the set timestamp.
model/value.go:249
StructSigV4Config
SigV4Config is the configuration for signing remote write requests with AWS's SigV4 verification process. Empty values will be retrieved using the AWS
sigv4/sigv4_config.go:25
StructSilence
Silence defines the representation of a silence definition in the Prometheus eco-system.
model/silence.go:64
StructString
String is a string value evaluated at the set timestamp.
model/value.go:282
StructTLSConfig
TLSConfig configures the options for TLS connections.
config/http_config.go:886
StructTLSRoundTripperSettings
config/http_config.go:1038
StructTextParser
TextParser is used to parse the simple and flat text-based exchange format. Its zero value is ready to use.
expfmt/text_parse.go:53
StructURL
URL is a custom URL type that allows validation at configuration load time.
config/http_config.go:162
InterfaceValue
Value is a generic interface for values resulting from a query evaluation.
model/value_type.go:22
TypeAliasValueType
model/value_type.go:32
TypeAliasVector
Vector is basically only an alias for Samples, but the contract is that in a Vector, all Samples have the same timestamp.
model/value.go:304
StructauthorizationCredentialsFileRoundTripper
config/http_config.go:616
StructauthorizationCredentialsRoundTripper
config/http_config.go:590
StructbasicAuthRoundTripper
config/http_config.go:650
InterfacecloseIdler
config/http_config.go:58
StructdummyFileSystem
server/static_file_server_test.go:22
StructencoderCloser
expfmt/encode.go:45
InterfaceenhancedWriter
enhancedWriter has all the enhanced write functions needed here. bufio.Writer implements it.
expfmt/text_create.go:32
StructerrReader
expfmt/text_parse_test.go:699
StructhttpClientOptions
config/http_config.go:427
Structlogger
promlog/log.go:163
Structoauth2RoundTripper
config/http_config.go:699
Structoauth2TestServerResponse
config/http_config_test.go:1446
TypeAliasplain
sigv4/sigv4_config.go:41
TypeAliasplain
model/silence.go:31
TypeAliasplain
promlog/log.go:51
TypeAliasplain
config/http_config.go:239
TypeAliasplain
config/config.go:40
StructprotoDecoder
protoDecoder implements the Decoder interface for protocol buffers.
expfmt/decode.go:84
StructrecordKeyvalLogger
promlog/log_test.go:71
StructroundTrip
config/http_config_test.go:1415
StructroundTripCheckRequest
config/http_config_test.go:1424
StructsigV4RoundTripper
sigv4/sigv4.go:37
FuncTypestateFn
A stateFn is a function that represents a state in a state machine. By executing it, the state is progressed to the next state. The stateFn returns an
expfmt/text_parse.go:37
StructtestConfig
model/labelset_test.go:22
StructtextDecoder
textDecoder implements the Decoder interface for the text protocol.
expfmt/decode.go:119
StructtlsRoundTripper
tlsRoundTripper is a RoundTripper that updates automatically its TLS configuration whenever the content of the CA file changes.
config/http_config.go:1024
Structtmp
config/config_test.go:27
StructuserAgentRoundTripper
config/http_config.go:1166