Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsExporter ¶
type MetricsExporter interface {
// Evaluate evaluates metrics export rules against the input key and creates
// prometheus counters for new time series, if required. Returned observer can
// be used to evaluate and observe particular samples.
//
// If there are no matching rules, the function returns false.
Evaluate(*PutInput) (SampleObserver, bool)
}
MetricsExporter exports values of particular stack traces sample from profiling data as a Prometheus metrics.
type SampleObserver ¶
Click to show internal directories.
Click to hide internal directories.