package
7.17.28
Repository: https://github.com/elastic/beats.git
Documentation: pkg.go.dev

# Functions

New create a new instance of the MetricSet Part of new is also setting up the configuration by processing additional configuration entries if needed.

# Structs

ArrayResponse is for "scalar", "string" type.
Config defines the "query" metricset's configuration.
InstantVectorResponse is for "vector" type from Prometheus Query API Request instantVectorResult format: [ { "metric": { "<label_name>": "<label_value>", ..
MetricSet type defines all fields of the MetricSet for Prometheus Query.
QueryConfig is used to make an API request.
RangeVectorResponse is for "vector" type from Prometheus Query API Request rangeVectorResult format: [ { "metric": { "<label_name>": "<label_value>", ..
Response stores the very basic response information to only keep the Status and the ResultType.