adx

package
v1.35.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 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

Clean up and close the ingestor

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