prometheusConfig can generate config for prometheus.
Additional information about the configuration options can be found in the official docs.
jb install github.com/crdsonnet/prometheus-libsonnet/prometheusConfig@master
local prometheusConfig = import "github.com/crdsonnet/prometheus-libsonnet/prometheusConfig/main.libsonnet"fn withAlerting(value)fn withAlertingMixin(value)fn withGlobal(value)fn withGlobalMixin(value)fn withOtlp(value)fn withOtlpMixin(value)fn withRemoteRead(value)fn withRemoteReadMixin(value)fn withRemoteWrite(value)fn withRemoteWriteMixin(value)fn withRuleFiles(value)fn withRuleFilesMixin(value)fn withRuntime(value)fn withRuntimeMixin(value)fn withScrapeConfigFiles(value)fn withScrapeConfigFilesMixin(value)fn withScrapeConfigs(value)fn withScrapeConfigsMixin(value)fn withStorage(value)fn withStorageMixin(value)fn withTracing(value)fn withTracingMixin(value)
withAlerting(value)PARAMETERS:
- value (
object)
AlertingConfig configures alerting and alertmanager related configs.
withAlertingMixin(value)PARAMETERS:
- value (
object)
AlertingConfig configures alerting and alertmanager related configs.
withGlobal(value)PARAMETERS:
- value (
object)
GlobalConfig configures values that are used across other configuration objects.
withGlobalMixin(value)PARAMETERS:
- value (
object)
GlobalConfig configures values that are used across other configuration objects.
withOtlp(value)PARAMETERS:
- value (
object)
OTLPConfig is the configuration for writing to the OTLP endpoint.
withOtlpMixin(value)PARAMETERS:
- value (
object)
OTLPConfig is the configuration for writing to the OTLP endpoint.
withRemoteRead(value)PARAMETERS:
- value (
array)
withRemoteReadMixin(value)PARAMETERS:
- value (
array)
withRemoteWrite(value)PARAMETERS:
- value (
array)
withRemoteWriteMixin(value)PARAMETERS:
- value (
array)
withRuleFiles(value)PARAMETERS:
- value (
array)
withRuleFilesMixin(value)PARAMETERS:
- value (
array)
withRuntime(value)PARAMETERS:
- value (
object)
RuntimeConfig configures the values for the process behavior.
withRuntimeMixin(value)PARAMETERS:
- value (
object)
RuntimeConfig configures the values for the process behavior.
withScrapeConfigFiles(value)PARAMETERS:
- value (
array)
withScrapeConfigFilesMixin(value)PARAMETERS:
- value (
array)
withScrapeConfigs(value)PARAMETERS:
- value (
array)
withScrapeConfigsMixin(value)PARAMETERS:
- value (
array)
withStorage(value)PARAMETERS:
- value (
object)
StorageConfig configures runtime reloadable configuration options.
withStorageMixin(value)PARAMETERS:
- value (
object)
StorageConfig configures runtime reloadable configuration options.
withTracing(value)PARAMETERS:
- value (
object)
TracingConfig configures the tracing options.
withTracingMixin(value)PARAMETERS:
- value (
object)
TracingConfig configures the tracing options.