Documentation
¶
Index ¶
Constants ¶
View Source
const DEFAULT_CMD_RETRY_DELAY = 5
View Source
const DEFAULT_CMD_RETRY_TIMES = 5
View Source
const DEFAULT_OTLP_BATCH_BUFFER_SIZE = 1
View Source
const DEFAULT_OTLP_BATCH_EXPORT_INTERVAL = 1
View Source
const DEFAULT_OTLP_BATCH_MAX_BATCH_SIZE = 512
View Source
const DEFAULT_OTLP_COMPRESSION = "gzip"
View Source
const DEFAULT_OTLP_EXPORTER = "grpc"
View Source
const DEFAULT_OTLP_GRPC_RECONNECTION_PERIOD = 10
View Source
const DEFAULT_OTLP_GRPC_URL = "http://localhost:4317"
View Source
const DEFAULT_OTLP_HTTP_URL = "https://localhost:4318"
View Source
const DEFAULT_OTLP_INITIAL_INTERVAL = 2
View Source
const DEFAULT_OTLP_LOGGER_NAME = "pve2otelcol"
View Source
const DEFAULT_OTLP_MAX_ELAPSED_TIME = 30
View Source
const DEFAULT_OTLP_MAX_INTERVAL = 10
View Source
const DEFAULT_OTLP_TIMEOUT = 10000
View Source
const DEFAULT_REFRESH_INTERVAL = 10
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
OtlpLoggerName string
OtlpExporter string
OtlpgRPCURL string
OtlpHTTPURL string
OtlpTLSCertFile string
OtlpTLSKeyFile string
OtlpCompression string
OtlpInitialInterval int
OtlpMaxInterval int
OtlpMaxElapsedTime int
OtlpTimeout int
OtlpBatchBufferSize int
OtlpBatchExportInterval int
OtlpBatchMaxBatchSize int
OtlpgRPCReconnectionPeriod int
RefreshInterval int
CmdRetryTimes int
CmdRetryDelay int
SkipLXCs bool
SkipPVE bool
//SkipKVMs bool
MonitorInclude []int
MonitorExclude []int
DryRun bool
Verbose bool
}
store command line configuration.
Click to show internal directories.
Click to hide internal directories.