package
1.0.13
Repository: https://github.com/vadimtk/metrics-agent.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Structs

An AnalyzerInstnace is an Analyzer ran by a Manager, one per MySQL instance as configured.
No description provided by the author
An Interval represents a period during which queries are fetched, aggregated, and reported.
A Manager runs AnalyzerInstances, one per MySQL instance as configured.
No description provided by the author
Final QAN data struct, composed of a Result{} and metatdata, sent to the data.Spooler by the manager running the slow log or perfomance schema (pfs) parser.
Data for an interval from slow log or performance schema (pfs) parser, passed to MakeReport() which wraps it in a Report{} with metadata.

# Interfaces

An Analyzer runs a Worker at each Interval.
An AnalyzerFactory makes an Analyzer, real or mock.
An IntervalIter sends Intervals.
An IntervalIterFactory makes an IntervalIter, real or mock.
A Worker gets queries, aggregates them, and returns a Result.

# Type aliases

No description provided by the author