Documentation ¶
Index ¶
- func Pretty(pretty bool) func(*MetricGrammar) error
- func Size(size int) func(*MetricGrammar) error
- type Diff
- type Metric
- type MetricGrammar
- func (t *MetricGrammar) AST() *node32
- func (t *MetricGrammar) Add(rule pegRule, begin, end, index uint32)
- func (p *MetricGrammar) Execute()
- func (p *MetricGrammar) Init(options ...func(*MetricGrammar) error) error
- func (p *MetricGrammar) Parse(rule ...int) error
- func (t *MetricGrammar) PrettyPrintSyntaxTree(buffer string)
- func (t *MetricGrammar) Print()
- func (p *MetricGrammar) PrintSyntaxTree()
- func (p *MetricGrammar) Reset()
- func (p *MetricGrammar) SprintSyntaxTree() string
- func (t *MetricGrammar) Tokens() []token32
- func (t *MetricGrammar) Trim(length uint32)
- func (p *MetricGrammar) WriteSyntaxTree(w io.Writer)
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pretty ¶
func Pretty(pretty bool) func(*MetricGrammar) error
func Size ¶
func Size(size int) func(*MetricGrammar) error
Types ¶
type Diff ¶
func DiffMetrics ¶
type Metric ¶
type MetricGrammar ¶
type MetricGrammar struct { Histogram bool Buckets map[string]string Name string Value string Timestamp string Tags map[string]string Buffer string Pretty bool // contains filtered or unexported fields }
func (*MetricGrammar) Execute ¶
func (p *MetricGrammar) Execute()
func (*MetricGrammar) Init ¶
func (p *MetricGrammar) Init(options ...func(*MetricGrammar) error) error
func (*MetricGrammar) Parse ¶
func (p *MetricGrammar) Parse(rule ...int) error
func (*MetricGrammar) PrettyPrintSyntaxTree ¶
func (t *MetricGrammar) PrettyPrintSyntaxTree(buffer string)
func (*MetricGrammar) PrintSyntaxTree ¶
func (p *MetricGrammar) PrintSyntaxTree()
func (*MetricGrammar) Reset ¶
func (p *MetricGrammar) Reset()
func (*MetricGrammar) SprintSyntaxTree ¶
func (p *MetricGrammar) SprintSyntaxTree() string
func (*MetricGrammar) WriteSyntaxTree ¶
func (p *MetricGrammar) WriteSyntaxTree(w io.Writer)
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) BadMetrics ¶
func (*Store) LogBadMetric ¶
func (*Store) Subscribe ¶
func (s *Store) Subscribe(b *broadcaster.Broadcaster[string])
Click to show internal directories.
Click to hide internal directories.