config

package
v0.0.0-...-23a0380 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package config contains database-monitoring auto-discovery configuration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuroraConfig

type AuroraConfig struct {
	Enabled           bool
	DiscoveryInterval int
	QueryTimeout      int
	Tags              []string
	Region            string // auto-discovered from instance metadata
}

AuroraConfig represents the configuration for auto-discovering database clusters

func NewAuroraAutodiscoveryConfig

func NewAuroraAutodiscoveryConfig() (AuroraConfig, error)

NewAuroraAutodiscoveryConfig parses configuration and returns a built AuroraConfig

type AutodiscoveryConfig

type AutodiscoveryConfig struct {
	AuroraConfig AuroraConfig
}

AutodiscoveryConfig represents the auto-discovery configuration for database-monitoring

Jump to

Keyboard shortcuts

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