adx

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TablePerMetric = "tablepermetric"
	SingleTable    = "singletable"

	ManagedIngestion = "managed"
	QueuedIngestion  = "queued"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func (*Client) Close

func (adx *Client) Close() error

func (*Client) PushMetrics

func (adx *Client) PushMetrics(format ingest.FileOption, tableName string, metrics []byte) error

type Config

type Config struct {
	Endpoint        string          `toml:"endpoint_url"`
	Database        string          `toml:"database"`
	Timeout         config.Duration `toml:"timeout"`
	MetricsGrouping string          `toml:"metrics_grouping_type"`
	TableName       string          `toml:"table_name"`
	CreateTables    bool            `toml:"create_tables"`
	IngestionType   string          `toml:"ingestion_type"`
}

func (*Config) NewClient

func (cfg *Config) NewClient(app string, log telegraf.Logger) (*Client, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL