Back to godoc.org
github.com/grafana/metrictank

Directory github.com/grafana/metrictank

v0.13.1
Latest Go to latest
Published: Nov 28, 2019 | License: AGPL-3.0 | Module: github.com/grafana/metrictank
Path Synopsis
api
api/middleware
api/models
api/response
batch Package batch implements batched processing for slices of points in particular aggregations
cassandra
clock
cluster
cluster/partitioner
cmd-dev/mt-simulate-memory-idx-lock-contention
cmd-dev/mt-simulate-memory-idx-lock-contention/runner
cmd/metrictank
cmd/mt-aggs-explain
cmd/mt-explain
cmd/mt-index-cat
cmd/mt-index-cat/out
cmd/mt-index-migrate
cmd/mt-index-prune
cmd/mt-kafka-mdm-sniff
cmd/mt-kafka-mdm-sniff-out-of-order
cmd/mt-kafka-persist-sniff
cmd/mt-keygen
cmd/mt-schemas-explain
cmd/mt-split-metrics-by-ttl
cmd/mt-store-cat
cmd/mt-store-cp-experimental
cmd/mt-update-ttl
cmd/mt-view-boundaries
cmd/mt-whisper-importer-reader
cmd/mt-whisper-importer-writer
conf Package conf reads config data from two of carbon's config files * storage-schemas.conf (old and new retention format) see https://graphite.readthedocs.io/en/0.9.9/config-carbon.html#storage-schemas-conf * storage-aggregation.conf see http://graphite.readthedocs.io/en/latest/config-carbon.html#storage-aggregation-conf as well as our own file index-rules.conf it also adds defaults (the same ones as graphite), so that even if nothing is matched in the user provided schemas or aggregations, a setting is *always* found uses some modified snippets from github.com/lomik/go-carbon and github.com/lomik/go-whisper
consolidation Package consolidation provides an abstraction for consolidators
errors
expr argument types.
expr/tagquery
idx
idx/bigtable
idx/cassandra
idx/memory
input Package in provides interfaces, concrete implementations, and utilities to ingest data into metrictank
input/carbon package carbon provides a traditional carbon input for metrictank note: it does not support the "carbon2.0" protocol that serializes metrics2.0 into a plaintext carbon-like protocol
input/kafkamdm
input/prometheus
jaeger
kafka
logger Package logger provides a custom TextFormatter for use with the github.com/sirupsen/logrus library.
mdata Package mdata stands for "managed data" or "metrics data" if you will it has all the stuff to keep metric data in memory, store it, and synchronize save states over the network
mdata/cache
mdata/cache/accnt
mdata/chunk package chunk encodes timeseries in chunks of data see devdocs/chunk-format.md for more information.
mdata/chunk/archive
mdata/chunk/tsz Package tsz implements time-series compression it is a fork of https://github.com/dgryski/go-tsz which implements http://www.vldb.org/pvldb/vol8/p1816-teller.pdf see devdocs/chunk-format.md for more info Package tsz implements time-series compression it is a fork of https://github.com/dgryski/go-tsz which implements http://www.vldb.org/pvldb/vol8/p1816-teller.pdf see devdocs/chunk-format.md for more info
mdata/errors
mdata/importer
mdata/notifierKafka
schema
schema/msg
stacktest/docker
stacktest/fakemetrics
stacktest/fakemetrics/out
stacktest/fakemetrics/out/carbon
stacktest/fakemetrics/out/kafkamdm
stacktest/fakemetrics/out/kafkamdm/keycache
stacktest/grafana
stacktest/graphite
stacktest/tests/predictable-tag-query-render-workload
stacktest/track
stats Package stats provides functionality for instrumenting metrics and reporting them The metrics can be user specified, or sourced from the runtime (reporters) To use this package correctly, you must instantiate exactly 1 output.
stats/config
store
store/bigtable
store/cassandra
test package test contains utility functions used by tests/benchmarks in various packages
tracing package tracing contains some helpers to make working with opentracing a tad simpler
util