Documentation ¶
Index ¶
- func AssertDescriptorEqual(t *testing.T, expected pmetric.Metric, actual pmetric.Metric)
- func AssertGaugeMetricHasAttribute(t *testing.T, metric pmetric.Metric, index int, labelName string)
- func AssertGaugeMetricHasAttributeValue(t *testing.T, metric pmetric.Metric, index int, labelName string, ...)
- func AssertGaugeMetricStartTimeEquals(t *testing.T, metric pmetric.Metric, startTime pcommon.Timestamp)
- func AssertSameTimeStampForAllMetrics(t *testing.T, metrics pmetric.MetricSlice)
- func AssertSameTimeStampForMetrics(t *testing.T, metrics pmetric.MetricSlice, startIdx, endIdx int)
- func AssertSumMetricHasAttribute(t *testing.T, metric pmetric.Metric, index int, labelName string)
- func AssertSumMetricHasAttributeValue(t *testing.T, metric pmetric.Metric, index int, labelName string, ...)
- func AssertSumMetricStartTimeEquals(t *testing.T, metric pmetric.Metric, startTime pcommon.Timestamp)
- func NewEnvVarFactory(delegate scraper.Factory, envMap common.EnvMap) scraper.Factory
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertDescriptorEqual ¶
func AssertGaugeMetricHasAttribute ¶ added in v0.45.0
func AssertGaugeMetricHasAttributeValue ¶ added in v0.45.0
func AssertGaugeMetricStartTimeEquals ¶ added in v0.45.0
func AssertSameTimeStampForAllMetrics ¶
func AssertSameTimeStampForAllMetrics(t *testing.T, metrics pmetric.MetricSlice)
func AssertSameTimeStampForMetrics ¶
func AssertSameTimeStampForMetrics(t *testing.T, metrics pmetric.MetricSlice, startIdx, endIdx int)
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package perfcounters is a thin wrapper around https://pkg.go.dev/github.com/prometheus-community/windows_exporter/pkg/perflib that provides functions to scrape raw performance counter data, without calculating rates or formatting them, from the registry.
|
Package perfcounters is a thin wrapper around https://pkg.go.dev/github.com/prometheus-community/windows_exporter/pkg/perflib that provides functions to scrape raw performance counter data, without calculating rates or formatting them, from the registry. |
scraper
|
|
Click to show internal directories.
Click to hide internal directories.