prometheusconvert

package
v0.35.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendAll

func AppendAll(f *builder.File, promConfig *prom_config.Config, labelPrefix string) diag.Diagnostics

AppendAll analyzes the entire prometheus config in memory and transforms it into Flow Arguments. It then appends each argument to the file builder. Exports from other components are correctly referenced to build the Flow pipeline. A non-empty labelPrefix can be provided for label uniqueness when calling this function for the same builder.File multiple times.

func Convert

func Convert(in []byte) ([]byte, diag.Diagnostics)

Convert implements a Prometheus config converter.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳