package
0.0.0-20220202092843-82de52efe57b
Repository: https://github.com/ovh/erlenmeyer.git
Documentation: pkg.go.dev

# Functions

ContainsCurlyBrackets detect if the query contains curly brackets.
ContainsFunction detect if the query contains a function.
ContainsNameWithCurlyBrackets detect if the query contains a name with curly brackets.
ContainsSerie detect if the query contains a serie.
ContainsString detect if the query contains a string.
CreateExpandRequest return children of a serie given in parameter as mc2 tree.
CreateFindRequest return children of a serie given in parameter as mc2 tree.
CreateRenderRequest return what you ask for as mc2 tree.
Expand graphite handler (/metrics/expand) http://graphite-api.readthedocs.io/en/latest/api.html#metrics-expand https://github.com/graphite-project/graphite-web/blob/master/webapp/graphite/metrics/views.py#L172.
Find graphite handler (/metrics/find) http://graphite-api.readthedocs.io/en/latest/api.html#metrics-find https://github.com/graphite-project/graphite-web/blob/master/webapp/graphite/metrics/views.py#L55.
Format GTS to desire format nolint: gocyclo.
GetFunction return the function if exists.
Index graphite handler (/metrics/index.json) http://graphite-api.readthedocs.io/en/latest/api.html#metrics-index-json https://github.com/graphite-project/graphite-web/blob/master/webapp/graphite/metrics/views.py#L35.
Parse a graphite query.
ParseFunction transform a graphite function into a struct.
ParseQuery and transform it into a call stack.
ParseSerie return the node corresponding to the query.
ParseTime provided in the query.
Render graphite handler (/render) http://graphite-api.readthedocs.io/en/latest/api.html#the-render-api-render.

# Structs

Dygraph structure definition.
ExpandQuery which is used by the /metrics/expand path http://graphite-api.readthedocs.io/en/latest/api.html#metrics-expand.
FindQuery which is used by the /metrics/find path http://graphite-api.readthedocs.io/en/latest/api.html#metrics-find.
Function structure using to describe a graphite function call.
GTS is the format which is returned by warp10.
IndexQuery which is used by the /metrics/index.json path http://graphite-api.readthedocs.io/en/latest/api.html#metrics-index-json.
JSON structure definition.
RenderQuery which is used by the /render path http://graphite-api.readthedocs.io/en/latest/api.html#the-render-api-render.
Ricksaw structure definition.
RicksawElement structure definition.
TreeJSON graphite response format.

# Interfaces

Parser interface in order to mutualize development.