Prometheus_metadataQuery: Prometheus Metadata Query

Prometheus_metadataQueryR Documentation

Prometheus Metadata Query

Description

Run a metadata query against the Prometheus Server

Arguments

match_target

The argument to match metrics against.

metric

The metric to retrieve metadata for. Optional.

limit

The number of results of targets to return.

Examples

## Not run: 
prom <- Prometheus$new(host = "https://foo.bar", port = 9090)
metadata <- prom$metadataQuery(match_target = '{job=~"..*"}', metric = 'go_goroutines')

## End(Not run)

glenn-m/promR documentation built on March 22, 2023, 8:49 p.m.