Skip to content

Latest commit

 

History

History
301 lines (190 loc) · 4.9 KB

File metadata and controls

301 lines (190 loc) · 4.9 KB

prometheusConfig

prometheusConfig can generate config for prometheus.

Additional information about the configuration options can be found in the official docs.

Install

jb install github.com/crdsonnet/prometheus-libsonnet/prometheusConfig@master

Usage

local prometheusConfig = import "github.com/crdsonnet/prometheus-libsonnet/prometheusConfig/main.libsonnet"

Subpackages

Index

Fields

fn withAlerting

withAlerting(value)

PARAMETERS:

  • value (object)

AlertingConfig configures alerting and alertmanager related configs.

fn withAlertingMixin

withAlertingMixin(value)

PARAMETERS:

  • value (object)

AlertingConfig configures alerting and alertmanager related configs.

fn withGlobal

withGlobal(value)

PARAMETERS:

  • value (object)

GlobalConfig configures values that are used across other configuration objects.

fn withGlobalMixin

withGlobalMixin(value)

PARAMETERS:

  • value (object)

GlobalConfig configures values that are used across other configuration objects.

fn withOtlp

withOtlp(value)

PARAMETERS:

  • value (object)

OTLPConfig is the configuration for writing to the OTLP endpoint.

fn withOtlpMixin

withOtlpMixin(value)

PARAMETERS:

  • value (object)

OTLPConfig is the configuration for writing to the OTLP endpoint.

fn withRemoteRead

withRemoteRead(value)

PARAMETERS:

  • value (array)

fn withRemoteReadMixin

withRemoteReadMixin(value)

PARAMETERS:

  • value (array)

fn withRemoteWrite

withRemoteWrite(value)

PARAMETERS:

  • value (array)

fn withRemoteWriteMixin

withRemoteWriteMixin(value)

PARAMETERS:

  • value (array)

fn withRuleFiles

withRuleFiles(value)

PARAMETERS:

  • value (array)

fn withRuleFilesMixin

withRuleFilesMixin(value)

PARAMETERS:

  • value (array)

fn withRuntime

withRuntime(value)

PARAMETERS:

  • value (object)

RuntimeConfig configures the values for the process behavior.

fn withRuntimeMixin

withRuntimeMixin(value)

PARAMETERS:

  • value (object)

RuntimeConfig configures the values for the process behavior.

fn withScrapeConfigFiles

withScrapeConfigFiles(value)

PARAMETERS:

  • value (array)

fn withScrapeConfigFilesMixin

withScrapeConfigFilesMixin(value)

PARAMETERS:

  • value (array)

fn withScrapeConfigs

withScrapeConfigs(value)

PARAMETERS:

  • value (array)

fn withScrapeConfigsMixin

withScrapeConfigsMixin(value)

PARAMETERS:

  • value (array)

fn withStorage

withStorage(value)

PARAMETERS:

  • value (object)

StorageConfig configures runtime reloadable configuration options.

fn withStorageMixin

withStorageMixin(value)

PARAMETERS:

  • value (object)

StorageConfig configures runtime reloadable configuration options.

fn withTracing

withTracing(value)

PARAMETERS:

  • value (object)

TracingConfig configures the tracing options.

fn withTracingMixin

withTracingMixin(value)

PARAMETERS:

  • value (object)

TracingConfig configures the tracing options.