Versions in this module Expand all Collapse all v0 v0.4.0 Nov 17, 2026 v0.3.4 Nov 15, 2026 v0.3.3 Nov 14, 2026 v0.3.2 Nov 13, 2026 v0.3.1 Nov 10, 2026 Changes in this version + var LogPaths = map[string][]string + func NTP(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Okta(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func PackCollectors() map[string]Collector + func PackNames() []string + func Systemd(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func TLSCert(ctx context.Context, raw json.RawMessage, out sink.Sink) error + type Collector = func(context.Context, json.RawMessage, sink.Sink) error + func CollectorFor(kind string) Collector + type LogsDoc struct + Paths []string + Pipeline map[string]any type Manifest + Logs *LogsDoc + type NTPConfig struct + Servers []string + type OktaConfig struct + Token string + URL string + type StatusPageConfig struct + URL string + type SystemdConfig struct + Units []string + type TLSCertConfig struct + Files []string + Targets []string v0.3.0 Nov 8, 2026 v0.2.0 Nov 4, 2026 Changes in this version + const DefaultSAPLongRunningS + const MaxKafkaGroups + const MaxKafkaTopics + const XIDWarnAge + func ActiveMQ(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Artemis(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Backup(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func BullMQ(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Cassandra(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Ceph(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func ClickHouse(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func CockroachDB(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func CollectCockroachDB(ctx context.Context, db *sql.DB, out sink.Sink, now time.Time) error + func CollectKafka(ctx context.Context, adm *kadm.Client, groups []string, st *KafkaState, ...) error + func CollectMSSQL(ctx context.Context, db *sql.DB, out sink.Sink, now time.Time) error + func CollectMSSQLPlans(ctx context.Context, db *sql.DB, out sink.Sink, now time.Time) error + func CollectMSSQLSchema(ctx context.Context, db *sql.DB, out sink.Sink, now time.Time) error + func CollectMySQL(ctx context.Context, db *sql.DB, out sink.Sink, now time.Time) error + func CollectMySQLPlans(ctx context.Context, db *sql.DB, out sink.Sink, now time.Time) error + func CollectMySQLSchema(ctx context.Context, db *sql.DB, out sink.Sink, now time.Time) error + func CollectOracle(ctx context.Context, db *sql.DB, out sink.Sink, now time.Time) error + func CollectPlans(ctx context.Context, dsn string, out sink.Sink, now time.Time) error + func CollectPostgres(ctx context.Context, dsn string, out sink.Sink, now time.Time) error + func CollectSQLiteFile(out sink.Sink, path string, gen map[string]sqliteGen, now time.Time) error + func CollectSchema(ctx context.Context, dsn string, out sink.Sink, now time.Time) error + func CollectStatementDeltas(ctx context.Context, dsn string, d *dbm.Deltas, out sink.Sink, now time.Time) error + func CollectTiDB(ctx context.Context, db *sql.DB, st *tidbState, out sink.Sink, now time.Time) error + func CollectYugabyteDB(ctx context.Context, db *sql.DB, out sink.Sink, now time.Time) error + func Consul(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func CouchDB(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Couchbase(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func CypherSafe(q string) string + func DBSlowLog(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Databricks(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Dnsmasq(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Docker(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func EMQX(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Elasticsearch(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func EmitApache(out sink.Sink, b []byte, now time.Time) error + func EmitCRDB(out sink.Sink, kind string, rows []map[string]string, now time.Time) + func EmitCRDBStatements(out sink.Sink, d *dbm.Deltas, rows []map[string]string, now time.Time) []dbm.StatementDelta + func EmitCassandraJMX(out sink.Sink, rs []jolokiaResp, now time.Time) + func EmitClickHouseHealth(out sink.Sink, kind string, body []byte, now time.Time) error + func EmitClickHouseQueries(out sink.Sink, body []byte, now time.Time) error + func EmitClusterInfo(out sink.Sink, ci map[string]string, now time.Time) + func EmitCollStats(out sink.Sink, db, coll string, rows []bson.D, now time.Time) + func EmitCouchDB(out sink.Sink, db string, info map[string]any, now time.Time) + func EmitCouchReplications(out sink.Sink, docs []map[string]any, now time.Time) + func EmitCouchStats(out sink.Sink, stats map[string]any, now time.Time) int + func EmitCouchTasks(out sink.Sink, tasks []map[string]any, now time.Time) + func EmitCurrentOp(out sink.Sink, ops []bson.D, now time.Time) + func EmitDocker(out sink.Sink, body []byte, now time.Time) error + func EmitDumpFiles(out sink.Sink, f DumpFiles, now time.Time) error + func EmitEMQXAlarms(out sink.Sink, body []byte, now time.Time) error + func EmitEMQXMetrics(out sink.Sink, body []byte, now time.Time) error + func EmitEMQXNodes(out sink.Sink, body []byte, now time.Time) error + func EmitEMQXStats(out sink.Sink, body []byte, now time.Time) error + func EmitESAllocation(out sink.Sink, sys string, ex map[string]any, now time.Time) + func EmitESHotThreads(out sink.Sink, sys, report string, now time.Time) + func EmitESNodes(out sink.Sink, ns esNodeStats, now time.Time) + func EmitESShards(out sink.Sink, shards []map[string]string, now time.Time) int + func EmitESTasks(out sink.Sink, sys string, t esTasks, now time.Time) + func EmitElasticsearch(out sink.Sink, b []byte, now time.Time) error + func EmitElasticsearchIndices(out sink.Sink, idx []map[string]string, now time.Time) + func EmitEtcdDerived(out sink.Sink, fams map[string]*dto.MetricFamily, ...) + func EmitFamilies(out sink.Sink, fams map[string]*dto.MetricFamily, prefixes []string, ...) + func EmitHAProxy(out sink.Sink, b []byte, now time.Time) error + func EmitIndexStats(out sink.Sink, db, coll string, rows []bson.D, now time.Time) + func EmitJenkins(out sink.Sink, comp, queue, jobs []byte, now time.Time) error + func EmitKeyPatterns(out sink.Sink, sys string, keys []string, sizes, freqs []int64, dbKeys float64, ...) + func EmitLatencyLatest(out sink.Sink, v any, now time.Time) + func EmitMSSQLQueryStats(out sink.Sink, d *dbm.Deltas, rows []map[string]string, now time.Time) + func EmitMSSQLQueryStore(out sink.Sink, rows []map[string]string, now time.Time) + func EmitMSSQLRegressions(out sink.Sink, rows []map[string]string, now time.Time) + func EmitMemcached(out sink.Sink, st map[string]string, now time.Time) + func EmitMemcachedSlabs(out sink.Sink, slabs, items map[string]string, now time.Time) + func EmitMemoryDoctor(out sink.Sink, sys, report string, now time.Time) + func EmitMongoPlan(out sink.Sink, e profEntry, reply bson.D, now time.Time) + func EmitMosquittoSys(out sink.Sink, sys map[string]string, now time.Time) + func EmitMySQLDigests(out sink.Sink, d *dbm.Deltas, rows []map[string]string, now time.Time) + func EmitMySQLReplica(out sink.Sink, r map[string]string, now time.Time) + func EmitNATSJsz(out sink.Sink, body []byte, now time.Time) error + func EmitNATSVarz(out sink.Sink, body []byte, now time.Time) error + func EmitNeo4j(out sink.Sink, r neo4jResult, slowMs int, now time.Time) + func EmitNginx(out sink.Sink, b []byte, now time.Time) error + func EmitOracleRound(out sink.Sink, rows []map[string]string, kind string, now time.Time) + func EmitOracleSQL(out sink.Sink, d *dbm.Deltas, rows []map[string]string, now time.Time) []dbm.StatementDelta + func EmitPgBackRest(out sink.Sink, p PgBackRest, b []byte, now time.Time) error + func EmitPlan(out sink.Sink, engine, id, query, plan string, now time.Time) + func EmitPulsarTopicStats(out sink.Sink, topic string, body []byte, now time.Time) error + func EmitRabbitFederation(out sink.Sink, body []byte, now time.Time) error + func EmitRabbitNodes(out sink.Sink, body []byte, now time.Time) error + func EmitRabbitOverview(out sink.Sink, body []byte, now time.Time) error + func EmitRabbitQueues(out sink.Sink, body []byte, now time.Time) error + func EmitRabbitShovels(out sink.Sink, body []byte, now time.Time) error + func EmitRabbitStreamConsumers(out sink.Sink, body []byte, now time.Time) error + func EmitRedis(out sink.Sink, info map[string]string, now time.Time) + func EmitRedisStats(out sink.Sink, info map[string]string, now time.Time) + func EmitReplSet(out sink.Sink, rs any, now time.Time) + func EmitSAPLongRunning(out sink.Sink, body []byte, minS int, now time.Time) error + func EmitSAPProcesses(out sink.Sink, body []byte, now time.Time) error + func EmitSAPQueues(out sink.Sink, body []byte, now time.Time) error + func EmitSAPWorkProcesses(out sink.Sink, body []byte, now time.Time) error + func EmitSchema(out sink.Sink, engine string, order []string, tables map[string][]string, ...) + func EmitServerStatus(out sink.Sink, ss any, now time.Time) bool + func EmitSlowQuery(out sink.Sink, engine string, q SlowQuery, at time.Time) + func EmitSnowflake(out sink.Sink, kind string, rows [][]any, now time.Time) + func EmitSquid(out sink.Sink, b []byte, now time.Time) error + func EmitTiDBDeadlocks(out sink.Sink, rows []map[string]string, seen map[string]bool, now time.Time) + func EmitTiDBStatements(out sink.Sink, d *dbm.Deltas, rows []map[string]string, now time.Time) []dbm.StatementDelta + func EmitTiDBStores(out sink.Sink, rows []map[string]string, now time.Time) + func EmitWiredTiger(out sink.Sink, ss any, now time.Time) + func EmitYB(out sink.Sink, kind string, rows []map[string]string, now time.Time) + func EmitYBASH(out sink.Sink, rows []map[string]string, window time.Duration, now time.Time) time.Time + func EmitYBStatements(out sink.Sink, d *dbm.Deltas, rows []map[string]string, now time.Time) + func Envoy(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Etcd(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func GitHub(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func GitLab(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func HTTPStatus(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func HyperV(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func IIS(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func IntervalQuantile(prev, cur []*dto.Bucket, q float64) (float64, bool) + func Istio(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func JMX(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Jenkins(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func JobFrameworks() []string + func JobQueue(fw string) func(context.Context, json.RawMessage, sink.Sink) error + func Kafka(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Kinesis(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Kong(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Listen(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Loop(ctx context.Context, name string, b Base, def time.Duration, out sink.Sink, ...) error + func MSSQL(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func MSSQLActivity(rows []map[string]string) []dbm.Activity + func MSSQLBlocking(out sink.Sink, rows []map[string]string, now time.Time) + func Memcached(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Milvus(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func MinIO(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func MongoDB(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Mosquitto(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func MySQL(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func MySQLActivity(rows []map[string]string) []dbm.Activity + func MySQLBlocking(out sink.Sink, rows []map[string]string, now time.Time) + func NATS(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Neo4j(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Nomad(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func NormalizePodConfig(module string, cfg map[string]any) map[string]any + func OplogWindow(first, last bson.Timestamp) float64 + func Oracle(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func OracleActivity(rows []map[string]string) []dbm.Activity + func OraclePlanJSON(steps []OraclePlanStep) (string, error) + func ParseRedisInfo(s string) map[string]string + func PartitionHealth(ps kadm.PartitionDetails) (under, offline int) + func Pinecone(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Postgres(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Pulsar(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Qdrant(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func RabbitMQ(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func ReadMemcachedStats(r *bufio.Reader) (map[string]string, error) + func RedactPlan(v any) (any, bool) + func Redis(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func RedisSystem(info map[string]string) (string, string) + func RunAnnotated(ctx context.Context, list func() []PodCheck, out sink.Sink, ...) + func SAPControl(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func SQLite(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func ScrubShowplan(plan string) string + func ScyllaDB(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Snowflake(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Solr(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Squid(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func TiDB(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Tomcat(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Traefik(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func ValidateConfig(kind string, raw json.RawMessage) error + func Vault(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Weaviate(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Windows(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func YugabyteDB(ctx context.Context, raw json.RawMessage, out sink.Sink) error + func Zookeeper(ctx context.Context, raw json.RawMessage, out sink.Sink) error + type AlertDoc struct + DefaultEnabled bool + Name string + Rule map[string]any + RunbookURL string + ThresholdRationale string + type BackupConfig struct + Files []DumpFiles + PgBackRest []PgBackRest + Snapshots []Snapshot + type Base struct + Enabled *bool + Interval string + type BullMQConfig struct + Prefix string + Queues []string + RedisDSN string + type Dependency struct + EqualLabels []string + ParentKind string + type Detected struct + Integration string + Port int + Process string + func Match(ms []*Manifest, socks []Socket) []Detected + type Discovery struct + K8sLabels map[string]string + Ports []int + ProcessNames []string + type DistSQLConfig struct + DBM bool + DSN string + Explain bool + type DnsmasqConfig struct + Address string + type DockerConfig struct + Socket string + URL string + type DumpFiles struct + Glob string + Kind string + MaxAge string + MinBytes int64 + Name string + type ExporterConfig struct + Password string + Prefixes []string + Token string + URL string + Username string + type HTTPConfig struct + Password string + URL string + Username string + type HTTPStatusConfig struct + Targets []StatusTarget + type JobQueueConfig struct + Addr string + DB int + DSN string + HorizonPrefix string + Namespace string + Password string + Prefix string + Queues []string + Schema string + StallAfter string + TLS bool + Token string + URL string + Username string + type JolokiaConfig struct + Reads []MBeanRead + type KafkaConfig struct + Brokers []string + Groups []string + SASLPassword string + SASLUser string + TLS bool + type KafkaState struct + type ListenConfig struct + ManifestsDir string + type MBeanRead struct + Attributes []string + MBean string + type MQTTConfig struct + Addr string + Password string + TLS bool + Username string + type MSSQLConfig struct + CollectSamples bool + DBM bool + DSN string + Explain bool + Schema bool + type Manifest struct + Alerts []AlertDoc + Dashboards []any + DependsOn []Dependency + Discovery Discovery + Metrics []MetricDoc + Module ModuleRef + Name string + Version string + func LoadFS(fsys fs.FS) ([]*Manifest, error) + func Parse(b []byte) (*Manifest, error) + func (m *Manifest) Validate() error + type MemcachedConfig struct + Addr string + type MetricDoc struct + Description string + Name string + Unit string + type ModuleRef struct + ConfigDefaults map[string]any + Kind string + type MongoConfig struct + Databases []string + SlowMs int + URI string + type MySQLConfig struct + CollectSamples bool + DBM bool + DSN string + Explain bool + Schema bool + type MySQLDeadlock struct + At string + RolledBack int + Transactions []MySQLDeadlockTxn + func ParseInnoDBDeadlock(status string) (MySQLDeadlock, bool) + type MySQLDeadlockTxn struct + Holds string + Index string + Query string + Table string + WaitsFor string + type Neo4jConfig struct + SlowMs int + type OracleConfig struct + CollectSamples bool + DBM bool + DSN string + Explain bool + type OraclePlanStep struct + Access string + Cost float64 + Filter string + ID int + Object string + Operation string + Parent int + Rows float64 + type PgBackRest struct + MaxAge string + Name string + Path string + Stanza string + type PodCheck struct + Config map[string]any + Container string + Module string + Namespace string + Pod string + PodIP string + UID string + type PostgresConfig struct + CollectSamples bool + DBM bool + DSN string + Explain bool + ExplainFunction string + Schema bool + type RedisConfig struct + Addr string + KeySample int + Password string + Streams []string + TLS bool + Username string + type SAPConfig struct + LongRunningS int + Service string + type SQLiteConfig struct + Paths []string + type SQLiteHeader struct + FreePages int64 + PageSize int64 + Pages int64 + WALMode bool + WALSalt uint64 + WALSize int64 + func ReadSQLiteHeader(dbHead, walHead []byte) (SQLiteHeader, error) + type SlowLogConfig struct + Engine string + Path string + type SlowQuery struct + Database string + DurationMs float64 + Hash string + LockMs float64 + Plan string + Query string + RowsExamined float64 + RowsSent float64 + Source string + User string + func ParseMySQLSlow(body string) []SlowQuery + func ParsePGSlow(body string) (SlowQuery, bool) + type Snapshot struct + MaxAge string + Name string + Provider string + Region string + Resource string + type Socket struct + Port int + Process string + func ListeningSockets(ctx context.Context) ([]Socket, error) + type StatusTarget struct + Kind string + Password string + Service string + Timeout string + URL string + Username string + type TiDBConfig struct + DBM bool + DSN string + Explain bool + type TokenConfig struct + Repos []string + Token string + Warehouse string