SYMBOL INDEX (1236 symbols across 178 files) FILE: autocomplete/autocomplete.go type Handler (line 31) | type Handler struct method ServeHTTP (line 60) | func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { method requestExpr (line 90) | func (h *Handler) requestExpr(r *http.Request, tcq *finder.TagCountQue... method ServeTags (line 232) | func (h *Handler) ServeTags(w http.ResponseWriter, r *http.Request) { method ServeValues (line 517) | func (h *Handler) ServeValues(w http.ResponseWriter, r *http.Request) { function NewTags (line 36) | func NewTags(config *config.Config) *Handler { function NewValues (line 44) | func NewValues(config *config.Config) *Handler { function dateString (line 53) | func dateString(autocompleteDays int, tm time.Time) (string, string) { function getTagCountQuerier (line 74) | func getTagCountQuerier(config *config.Config, opts clickhouse.Options) ... function taggedKey (line 142) | func taggedKey(typ string, truncateSec int32, fromDate, untilDate string... function taggedValuesKey (line 181) | func taggedValuesKey(typ string, truncateSec int32, fromDate, untilDate ... FILE: autocomplete/autocomplete_test.go function NewRequest (line 18) | func NewRequest(method, url string, body io.Reader) *http.Request { type testStruct (line 24) | type testStruct struct function testResponce (line 31) | func testResponce(t *testing.T, step int, h *Handler, tt *testStruct, wa... function TestHandler_ServeTags (line 53) | func TestHandler_ServeTags(t *testing.T) { function TestHandler_ServeTagsWithCache (line 147) | func TestHandler_ServeTagsWithCache(t *testing.T) { function TestHandler_ServeValues (line 209) | func TestHandler_ServeValues(t *testing.T) { function TestHandler_ServeValuesWithValuePrefix (line 262) | func TestHandler_ServeValuesWithValuePrefix(t *testing.T) { function TestHandler_ServeValuesNameTag (line 298) | func TestHandler_ServeValuesNameTag(t *testing.T) { function TestHandler_ServeValuesWithCache (line 334) | func TestHandler_ServeValuesWithCache(t *testing.T) { function TestHandler_ServeValuesWithCacheAndExpr (line 396) | func TestHandler_ServeValuesWithCacheAndExpr(t *testing.T) { function TestHandler_ServeValuesWithInvalidLimit (line 469) | func TestHandler_ServeValuesWithInvalidLimit(t *testing.T) { function TestHandler_ServeValuesWithMultipleExpr (line 494) | func TestHandler_ServeValuesWithMultipleExpr(t *testing.T) { function TestHandler_ServeValuesNoCache (line 531) | func TestHandler_ServeValuesNoCache(t *testing.T) { function TestHandler_ServeValuesEmptyResult (line 586) | func TestHandler_ServeValuesEmptyResult(t *testing.T) { function TestHandler_ServeTagsWithCostOptimization (line 622) | func TestHandler_ServeTagsWithCostOptimization(t *testing.T) { function TestHandler_ServeValuesWithCostOptimization (line 673) | func TestHandler_ServeValuesWithCostOptimization(t *testing.T) { function TestHandler_ServeTagsWithWildcardExpressions (line 724) | func TestHandler_ServeTagsWithWildcardExpressions(t *testing.T) { function TestHandler_ServeValuesWithNoEqualityTerms (line 762) | func TestHandler_ServeValuesWithNoEqualityTerms(t *testing.T) { function TestHandler_ServeTagsWithHighCostTags (line 801) | func TestHandler_ServeTagsWithHighCostTags(t *testing.T) { function TestHandler_ServeValuesWithMixedOperators (line 851) | func TestHandler_ServeValuesWithMixedOperators(t *testing.T) { FILE: cache/cache.go type BytesCache (line 20) | type BytesCache interface function NewExpireCache (line 25) | func NewExpireCache(maxsize uint64) BytesCache { type ExpireCache (line 32) | type ExpireCache struct method Get (line 36) | func (ec ExpireCache) Get(k string) ([]byte, error) { method Set (line 46) | func (ec ExpireCache) Set(k string, v []byte, expire int32) { function NewMemcached (line 50) | func NewMemcached(prefix string, servers ...string) BytesCache { type MemcachedCache (line 54) | type MemcachedCache struct method Get (line 60) | func (m *MemcachedCache) Get(k string) ([]byte, error) { method Set (line 95) | func (m *MemcachedCache) Set(k string, v []byte, expire int32) { method Timeouts (line 104) | func (m *MemcachedCache) Timeouts() uint64 { FILE: capabilities/handler.go type Handler (line 16) | type Handler struct method ServeHTTP (line 26) | func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { function NewHandler (line 20) | func NewHandler(config *config.Config) *Handler { FILE: cmd/e2e-test/carbon-clickhouse.go type CarbonClickhouse (line 15) | type CarbonClickhouse struct method Start (line 29) | func (c *CarbonClickhouse) Start(testDir, clickhouseURL string) (strin... method Stop (line 117) | func (c *CarbonClickhouse) Stop(delete bool) (string, error) { method Delete (line 134) | func (c *CarbonClickhouse) Delete() (string, error) { method Cleanup (line 153) | func (c *CarbonClickhouse) Cleanup() { method Address (line 160) | func (c *CarbonClickhouse) Address() string { method Container (line 164) | func (c *CarbonClickhouse) Container() string { FILE: cmd/e2e-test/checks.go function isFindCached (line 20) | func isFindCached(header http.Header) (string, bool) { function requestId (line 33) | func requestId(header http.Header) string { function compareFindMatch (line 46) | func compareFindMatch(errors *[]string, name, url string, actual, expect... function verifyMetricsFind (line 74) | func verifyMetricsFind(ch *Clickhouse, gch *GraphiteClickhouse, check *M... function compareTags (line 130) | func compareTags(errors *[]string, name, url string, actual, expected []... function verifyTags (line 158) | func verifyTags(ch *Clickhouse, gch *GraphiteClickhouse, check *TagsChec... function compareRender (line 234) | func compareRender(errors *[]string, name, url string, actual, expected ... function parseFilteringFunctions (line 314) | func parseFilteringFunctions(strFilteringFuncs []string) ([]*carbonapi_v... function verifyRender (line 337) | func verifyRender(ch *Clickhouse, gch *GraphiteClickhouse, check *Render... function debug (line 407) | func debug(test *TestSchema, ch *Clickhouse, gch *GraphiteClickhouse) { FILE: cmd/e2e-test/clickhouse.go type Clickhouse (line 23) | type Clickhouse struct method CheckConfig (line 39) | func (c *Clickhouse) CheckConfig(rootDir string) error { method Key (line 72) | func (c *Clickhouse) Key() string { method Start (line 76) | func (c *Clickhouse) Start() (string, error) { method Stop (line 131) | func (c *Clickhouse) Stop(delete bool) (string, error) { method Delete (line 148) | func (c *Clickhouse) Delete() (string, error) { method URL (line 165) | func (c *Clickhouse) URL() string { method TLSURL (line 169) | func (c *Clickhouse) TLSURL() string { method Container (line 173) | func (c *Clickhouse) Container() string { method Exec (line 177) | func (c *Clickhouse) Exec(sql string) (bool, string) { method Query (line 181) | func (c *Clickhouse) Query(sql string) (string, error) { method Alive (line 207) | func (c *Clickhouse) Alive() bool { method CopyLog (line 222) | func (c *Clickhouse) CopyLog(destDir string, tail uint64) error { method CopyErrLog (line 246) | func (c *Clickhouse) CopyErrLog(destDir string, tail uint64) error { FILE: cmd/e2e-test/container.go function imageDelete (line 13) | func imageDelete(image, version string) (bool, string) { function containerExist (line 31) | func containerExist(name string) (bool, string) { function containerRemove (line 49) | func containerRemove(name string) (bool, string) { function containerExec (line 67) | func containerExec(name string, args []string) (bool, string) { FILE: cmd/e2e-test/e2etesting.go type Point (line 32) | type Point struct type InputMetric (line 40) | type InputMetric struct type Metric (line 46) | type Metric struct type RenderCheck (line 61) | type RenderCheck struct type MetricsFindCheck (line 89) | type MetricsFindCheck struct type TagsCheck (line 113) | type TagsCheck struct type TestSchema (line 139) | type TestSchema struct method HasTLSSettings (line 158) | func (schema *TestSchema) HasTLSSettings() bool { function getFreeTCPPort (line 162) | func getFreeTCPPort(name string) (string, error) { function sendPlain (line 184) | func sendPlain(network, address string, metrics []InputMetric) error { function verifyGraphiteClickhouse (line 219) | func verifyGraphiteClickhouse(test *TestSchema, gch *GraphiteClickhouse,... function testGraphiteClickhouse (line 449) | func testGraphiteClickhouse(test *TestSchema, clickhouse *Clickhouse, te... function runTest (line 561) | func runTest(cfg *MainConfig, clickhouse *Clickhouse, rootDir string, no... function clickhouseStart (line 591) | func clickhouseStart(clickhouse *Clickhouse, logger *zap.Logger) bool { function clickhouseStop (line 608) | func clickhouseStop(clickhouse *Clickhouse, logger *zap.Logger) (result ... function initTest (line 632) | func initTest(cfg *MainConfig, rootDir string, now time.Time, verbose, b... function loadConfig (line 886) | func loadConfig(config string, rootDir string) (*MainConfig, error) { FILE: cmd/e2e-test/graphite-clickhouse.go type GraphiteClickhouse (line 20) | type GraphiteClickhouse struct method Start (line 33) | func (c *GraphiteClickhouse) Start(testDir, chURL, chProxyURL, chTLSUR... method Alive (line 119) | func (c *GraphiteClickhouse) Alive() bool { method Stop (line 129) | func (c *GraphiteClickhouse) Stop(cleanup bool) error { method Cleanup (line 155) | func (c *GraphiteClickhouse) Cleanup() { method URL (line 163) | func (c *GraphiteClickhouse) URL() string { method Cmd (line 167) | func (c *GraphiteClickhouse) Cmd() string { method Grep (line 171) | func (c *GraphiteClickhouse) Grep(s string) { FILE: cmd/e2e-test/main.go type MainConfig (line 14) | type MainConfig struct function IsDir (line 18) | func IsDir(filename string) (bool, error) { function expandDir (line 29) | func expandDir(dirname string, paths *[]string) error { function expandFilename (line 51) | func expandFilename(filename string, paths *[]string) error { function main (line 70) | func main() { FILE: cmd/e2e-test/rproxy.go type AtomicDuration (line 16) | type AtomicDuration struct method Store (line 20) | func (d *AtomicDuration) Store(duration time.Duration) { method Load (line 24) | func (d *AtomicDuration) Load() time.Duration { method MarshalText (line 28) | func (d *AtomicDuration) MarshalText() ([]byte, error) { method UnmarshalText (line 33) | func (d *AtomicDuration) UnmarshalText(b []byte) error { type HttpReverseProxy (line 44) | type HttpReverseProxy struct method Start (line 53) | func (p *HttpReverseProxy) Start(remoteURL string) (err error) { method Stop (line 81) | func (p *HttpReverseProxy) Stop() { method URL (line 92) | func (p *HttpReverseProxy) URL() string { method SetDelay (line 96) | func (p *HttpReverseProxy) SetDelay(delay time.Duration) { method GetDelay (line 100) | func (p *HttpReverseProxy) GetDelay() time.Duration { method SetBreakStatusCode (line 104) | func (p *HttpReverseProxy) SetBreakStatusCode(statusCode int) { method GetBreakStatusCode (line 108) | func (p *HttpReverseProxy) GetBreakStatusCode() int { method ServeHTTP (line 112) | func (p *HttpReverseProxy) ServeHTTP(w http.ResponseWriter, r *http.Re... FILE: cmd/e2e-test/utils.go function cmdExec (line 5) | func cmdExec(programm string, args ...string) (string, error) { FILE: cmd/graphite-clickhouse-client/main.go type StringSlice (line 17) | type StringSlice method Set (line 19) | func (u *StringSlice) Set(value string) error { method String (line 24) | func (u *StringSlice) String() string { method Type (line 28) | func (u *StringSlice) Type() string { function main (line 32) | func main() { FILE: config/config.go type SDType (line 35) | type SDType method Set (line 44) | func (a *SDType) Set(value string) error { method UnmarshalText (line 57) | func (a *SDType) UnmarshalText(data []byte) error { method MarshalText (line 61) | func (a *SDType) MarshalText() ([]byte, error) { method UnmarshalJSON (line 65) | func (a *SDType) UnmarshalJSON(data []byte) error { method MarshalJSON (line 69) | func (a *SDType) MarshalJSON() ([]byte, error) { method String (line 73) | func (a *SDType) String() string { method Type (line 77) | func (a *SDType) Type() string { constant SDNone (line 38) | SDNone SDType = iota constant SDNginx (line 39) | SDNginx type CacheConfig (line 82) | type CacheConfig struct type Common (line 96) | type Common struct type FeatureFlags (line 123) | type FeatureFlags struct type IndexReverseRule (line 130) | type IndexReverseRule struct type Costs (line 138) | type Costs struct type IndexReverses (line 144) | type IndexReverses method Compile (line 446) | func (ir IndexReverses) Compile() error { constant IndexAuto (line 147) | IndexAuto = iota constant IndexDirect (line 148) | IndexDirect = iota constant IndexReversed (line 149) | IndexReversed = iota type UserLimits (line 162) | type UserLimits struct type QueryParam (line 170) | type QueryParam struct function binarySearchQueryParamLe (line 182) | func binarySearchQueryParamLe(a []QueryParam, duration time.Duration, st... type ClickHouse (line 209) | type ClickHouse struct function clickhouseURLValidate (line 268) | func clickhouseURLValidate(chURL string) (*url.URL, error) { type Tags (line 282) | type Tags struct type Carbonlink (line 295) | type Carbonlink struct type Prometheus (line 305) | type Prometheus struct constant ContextGraphite (line 316) | ContextGraphite = "graphite" constant ContextPrometheus (line 318) | ContextPrometheus = "prometheus" type DataTable (line 327) | type DataTable struct type Debug (line 351) | type Debug struct type Config (line 360) | type Config struct method NeedLoadAvgColect (line 778) | func (c *Config) NeedLoadAvgColect() bool { method ProcessDataTables (line 826) | func (c *Config) ProcessDataTables() (err error) { method setupGraphiteMetrics (line 959) | func (c *Config) setupGraphiteMetrics() bool { method GetUserFindLimiter (line 1026) | func (c *Config) GetUserFindLimiter(username string) limiter.ServerLim... method GetUserTagsLimiter (line 1036) | func (c *Config) GetUserTagsLimiter(username string) limiter.ServerLim... function New (line 374) | func New() *Config { function newLoggingConfig (line 466) | func newLoggingConfig() zapwriter.Config { function DefaultConfig (line 473) | func DefaultConfig() (*Config, error) { function PrintDefaultConfig (line 512) | func PrintDefaultConfig() error { function ReadConfig (line 534) | func ReadConfig(filename string, exactConfig bool) (*Config, []zap.Field... function Unmarshal (line 549) | func Unmarshal(body []byte, exactConfig bool) (cfg *Config, warns []zap.... function checkDeprecations (line 903) | func checkDeprecations(cfg *Config, d map[string]error) { function CreateCache (line 909) | func CreateCache(cacheName string, cacheConfig *CacheConfig) (cache.Byte... function GetQueryParam (line 1047) | func GetQueryParam(a []QueryParam, duration time.Duration) int { FILE: config/config_test.go function TestProcessDataTables (line 23) | func TestProcessDataTables(t *testing.T) { function TestKnownDataTableContext (line 228) | func TestKnownDataTableContext(t *testing.T) { function TestReadConfig (line 232) | func TestReadConfig(t *testing.T) { function TestReadConfigGraphiteWithLimiter (line 444) | func TestReadConfigGraphiteWithLimiter(t *testing.T) { function TestReadConfigGraphiteWithALimiter (line 761) | func TestReadConfigGraphiteWithALimiter(t *testing.T) { function TestGetQueryParamBroken (line 1088) | func TestGetQueryParamBroken(t *testing.T) { function TestGetQueryParam (line 1120) | func TestGetQueryParam(t *testing.T) { function TestClickHouse_Validate (line 1297) | func TestClickHouse_Validate(t *testing.T) { FILE: config/json.go method MarshalJSON (line 8) | func (c *ClickHouse) MarshalJSON() ([]byte, error) { FILE: config/json_test.go function TestClickhouseUrlPassword (line 10) | func TestClickhouseUrlPassword(t *testing.T) { FILE: find/find.go type Find (line 17) | type Find struct method isResultsLimitExceeded (line 45) | func (f *Find) isResultsLimitExceeded(numResults int) bool { method WritePickle (line 50) | func (f *Find) WritePickle(w io.Writer) error { method WriteProtobuf (line 94) | func (f *Find) WriteProtobuf(w io.Writer) error { method WriteProtobufV3 (line 144) | func (f *Find) WriteProtobufV3(w io.Writer) error { method WriteJSON (line 200) | func (f *Find) WriteJSON(w io.Writer) error { function NewCached (line 24) | func NewCached(config *config.Config, body []byte) *Find { function New (line 31) | func New(config *config.Config, ctx context.Context, query string) (*Fin... FILE: find/handler.go type Handler (line 22) | type Handler struct method ServeHTTP (line 34) | func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { method Reply (line 228) | func (h *Handler) Reply(w http.ResponseWriter, r *http.Request, f *Fin... function NewHandler (line 27) | func NewHandler(config *config.Config) *Handler { FILE: find/handler_json_test.go function NewRequest (line 17) | func NewRequest(method, url string, body io.Reader) *http.Request { type testStruct (line 23) | type testStruct struct function testResponce (line 30) | func testResponce(t *testing.T, step int, h *Handler, tt *testStruct, wa... function TestHandler_ServeValuesJSON (line 52) | func TestHandler_ServeValuesJSON(t *testing.T) { function TestHandler_ServeValuesCachedJSON (line 104) | func TestHandler_ServeValuesCachedJSON(t *testing.T) { FILE: find/handler_test.go type clickhouseMock (line 12) | type clickhouseMock struct method ServeHTTP (line 16) | func (m *clickhouseMock) ServeHTTP(w http.ResponseWriter, r *http.Requ... function TestFind (line 24) | func TestFind(t *testing.T) { FILE: finder/base.go type BaseFinder (line 19) | type BaseFinder struct method where (line 36) | func (b *BaseFinder) where(query string) *where.Where { method Execute (line 46) | func (b *BaseFinder) Execute(ctx context.Context, config *config.Confi... method makeList (line 66) | func (b *BaseFinder) makeList(onlySeries bool) [][]byte { method List (line 96) | func (b *BaseFinder) List() [][]byte { method Series (line 100) | func (b *BaseFinder) Series() [][]byte { method Abs (line 104) | func (b *BaseFinder) Abs(v []byte) []byte { method Bytes (line 108) | func (b *BaseFinder) Bytes() ([]byte, error) { method Stats (line 112) | func (b *BaseFinder) Stats() []metrics.FinderStat { function NewBase (line 27) | func NewBase(url string, table string, opts clickhouse.Options) Finder { FILE: finder/blacklist.go type BlacklistFinder (line 11) | type BlacklistFinder struct method Execute (line 24) | func (p *BlacklistFinder) Execute(ctx context.Context, config *config.... method List (line 35) | func (p *BlacklistFinder) List() [][]byte { method Series (line 44) | func (p *BlacklistFinder) Series() [][]byte { method Abs (line 52) | func (p *BlacklistFinder) Abs(v []byte) []byte { method Bytes (line 56) | func (p *BlacklistFinder) Bytes() ([]byte, error) { method Stats (line 60) | func (p *BlacklistFinder) Stats() []metrics.FinderStat { function WrapBlacklist (line 17) | func WrapBlacklist(f Finder, blacklist []*regexp.Regexp) *BlacklistFinder { FILE: finder/date.go type DateFinder (line 15) | type DateFinder struct method Execute (line 34) | func (b *DateFinder) Execute(ctx context.Context, config *config.Confi... function NewDateFinder (line 20) | func NewDateFinder(url string, table string, tableVersion int, opts clic... FILE: finder/date_reverse.go type DateFinderV3 (line 15) | type DateFinderV3 struct method whereFilter (line 30) | func (f *DateFinderV3) whereFilter(query string, from int64, until int... method Execute (line 43) | func (f *DateFinderV3) Execute(ctx context.Context, config *config.Con... method List (line 63) | func (f *DateFinderV3) List() [][]byte { method Series (line 72) | func (f *DateFinderV3) Series() [][]byte { function NewDateFinderV3 (line 20) | func NewDateFinderV3(url string, table string, opts clickhouse.Options) ... FILE: finder/date_reverse_test.go function TestDateFinderV3_whereFilter (line 11) | func TestDateFinderV3_whereFilter(t *testing.T) { FILE: finder/finder.go type Result (line 13) | type Result interface type Finder (line 20) | type Finder interface function newPlainFinder (line 25) | func newPlainFinder(ctx context.Context, config *config.Config, query st... function Find (line 107) | func Find(config *config.Config, ctx context.Context, query string, from... function Leaf (line 116) | func Leaf(value []byte) ([]byte, bool) { function FindTagged (line 124) | func FindTagged(ctx context.Context, config *config.Config, terms []Tagg... FILE: finder/index.go constant ReverseLevelOffset (line 19) | ReverseLevelOffset = 10000 constant TreeLevelOffset (line 20) | TreeLevelOffset = 20000 constant ReverseTreeLevelOffset (line 21) | ReverseTreeLevelOffset = 30000 constant DefaultTreeDate (line 23) | DefaultTreeDate = "1970-02-12" constant queryAuto (line 26) | queryAuto = config.IndexAuto constant queryDirect (line 27) | queryDirect = config.IndexDirect constant queryReversed (line 28) | queryReversed = config.IndexReversed type IndexFinder (line 31) | type IndexFinder struct method where (line 69) | func (idx *IndexFinder) where(query string, levelOffset int) *where.Wh... method checkReverses (line 80) | func (idx *IndexFinder) checkReverses(query string) uint8 { method useReverse (line 100) | func (idx *IndexFinder) useReverse(query string) bool { method whereFilter (line 164) | func (idx *IndexFinder) whereFilter(query string, from int64, until in... method Execute (line 199) | func (idx *IndexFinder) Execute(ctx context.Context, config *config.Co... method Abs (line 228) | func (idx *IndexFinder) Abs(v []byte) []byte { method bodySplit (line 263) | func (idx *IndexFinder) bodySplit() { method makeList (line 286) | func (idx *IndexFinder) makeList(onlySeries bool) [][]byte { method List (line 290) | func (idx *IndexFinder) List() [][]byte { method Series (line 294) | func (idx *IndexFinder) Series() [][]byte { method Bytes (line 298) | func (idx *IndexFinder) Bytes() ([]byte, error) { method Stats (line 302) | func (idx *IndexFinder) Stats() []metrics.FinderStat { function NewCachedIndex (line 46) | func NewCachedIndex(body []byte) Finder { function NewIndex (line 56) | func NewIndex(url string, table string, dailyEnabled bool, reverse strin... function useDaily (line 132) | func useDaily(dailyEnabled bool, from, until int64) bool { function calculateIndexLevelOffset (line 136) | func calculateIndexLevelOffset(useDaily, reverse bool) int { function addDatesToWhere (line 152) | func addDatesToWhere(w *where.Where, useDaily bool, from, until int64) { function validatePlainQuery (line 180) | func validatePlainQuery(query string, wildcardMinDistance int) error { function splitIndexBody (line 232) | func splitIndexBody(body []byte, useReverse, useCache bool) ([]byte, [][... function makeList (line 272) | func makeList(rows [][]byte, onlySeries bool) [][]byte { FILE: finder/index_test.go function Test_useReverse (line 14) | func Test_useReverse(t *testing.T) { function Test_useReverseWithSetConfig (line 35) | func Test_useReverseWithSetConfig(t *testing.T) { function Test_checkReverses (line 63) | func Test_checkReverses(t *testing.T) { function Benchmark_useReverseDepth (line 96) | func Benchmark_useReverseDepth(b *testing.B) { function Benchmark_useReverseDepthPrefixSuffix (line 111) | func Benchmark_useReverseDepthPrefixSuffix(b *testing.B) { function Benchmark_useReverseDepthRegex (line 126) | func Benchmark_useReverseDepthRegex(b *testing.B) { function TestIndexFinder_whereFilter (line 141) | func TestIndexFinder_whereFilter(t *testing.T) { FILE: finder/mock.go type MockFinder (line 13) | type MockFinder struct method Execute (line 33) | func (m *MockFinder) Execute(ctx context.Context, config *config.Confi... method List (line 39) | func (m *MockFinder) List() [][]byte { method Series (line 44) | func (m *MockFinder) Series() [][]byte { method Abs (line 49) | func (m *MockFinder) Abs(v []byte) []byte { method Bytes (line 53) | func (m *MockFinder) Bytes() ([]byte, error) { method Strings (line 58) | func (m *MockFinder) Strings() []string { method Stats (line 63) | func (m *MockFinder) Stats() []metrics.FinderStat { function NewMockFinder (line 19) | func NewMockFinder(result [][]byte) *MockFinder { function NewMockTagged (line 26) | func NewMockTagged(result [][]byte) *MockFinder { FILE: finder/plain_from_tagged.go type plainFromTaggedFinder (line 16) | type plainFromTaggedFinder struct method Target (line 67) | func (f *plainFromTaggedFinder) Target() string { method Execute (line 71) | func (f *plainFromTaggedFinder) Execute(ctx context.Context, config *c... method Series (line 76) | func (f *plainFromTaggedFinder) Series() [][]byte { method Abs (line 85) | func (f *plainFromTaggedFinder) Abs(value []byte) []byte { method List (line 126) | func (f *plainFromTaggedFinder) List() [][]byte { method Bytes (line 130) | func (f *plainFromTaggedFinder) Bytes() ([]byte, error) { method Stats (line 134) | func (f *plainFromTaggedFinder) Stats() []metrics.FinderStat { function makePlainFromTagged (line 23) | func makePlainFromTagged(matchers []TaggedTerm) *plainFromTaggedFinder { type taggedLabel (line 80) | type taggedLabel struct FILE: finder/plain_from_tagged_test.go function TestPlainFromTaggedFinderAbs (line 9) | func TestPlainFromTaggedFinderAbs(t *testing.T) { FILE: finder/prefix.go type PrefixMatchResult (line 13) | type PrefixMatchResult constant PrefixNotMatched (line 16) | PrefixNotMatched PrefixMatchResult = iota constant PrefixMatched (line 17) | PrefixMatched constant PrefixPartialMathed (line 18) | PrefixPartialMathed type PrefixFinder (line 21) | type PrefixFinder struct method Execute (line 46) | func (p *PrefixFinder) Execute(ctx context.Context, config *config.Con... method List (line 83) | func (p *PrefixFinder) List() [][]byte { method Series (line 103) | func (p *PrefixFinder) Series() [][]byte { method Abs (line 115) | func (p *PrefixFinder) Abs(value []byte) []byte { method Bytes (line 119) | func (p *PrefixFinder) Bytes() ([]byte, error) { method Stats (line 123) | func (p *PrefixFinder) Stats() []metrics.FinderStat { function bytesConcat (line 29) | func bytesConcat(s1 []byte, s2 []byte) []byte { function WrapPrefix (line 37) | func WrapPrefix(f Finder, prefix string) *PrefixFinder { FILE: finder/prefix_test.go function TestPrefixFinderExecute (line 12) | func TestPrefixFinderExecute(t *testing.T) { function TestPrefixFinderAbs (line 54) | func TestPrefixFinderAbs(t *testing.T) { function TestPrefixFinderList (line 63) | func TestPrefixFinderList(t *testing.T) { FILE: finder/reverse.go type ReverseFinder (line 14) | type ReverseFinder struct method Execute (line 54) | func (r *ReverseFinder) Execute(ctx context.Context, config *config.Co... method List (line 69) | func (r *ReverseFinder) List() [][]byte { method Series (line 82) | func (r *ReverseFinder) Series() [][]byte { method Abs (line 95) | func (r *ReverseFinder) Abs(v []byte) []byte { method Bytes (line 99) | func (f *ReverseFinder) Bytes() ([]byte, error) { method Stats (line 103) | func (f *ReverseFinder) Stats() []metrics.FinderStat { function ReverseString (line 22) | func ReverseString(target string) string { function ReverseBytes (line 33) | func ReverseBytes(target []byte) []byte { function WrapReverse (line 45) | func WrapReverse(f Finder, url string, table string, opts clickhouse.Opt... FILE: finder/reverse_test.go function TestReverse (line 9) | func TestReverse(t *testing.T) { FILE: finder/split.go type indexFinderParams (line 17) | type indexFinderParams struct type SplitIndexFinder (line 29) | type SplitIndexFinder struct method Execute (line 73) | func (splitFinder *SplitIndexFinder) Execute( method whereFilter (line 241) | func (splitFinder *SplitIndexFinder) whereFilter(queries []string, fro... method List (line 295) | func (splitFinder *SplitIndexFinder) List() [][]byte { method Series (line 304) | func (splitFinder *SplitIndexFinder) Series() [][]byte { method Abs (line 314) | func (splitFinder *SplitIndexFinder) Abs(v []byte) []byte { method Bytes (line 324) | func (splitFinder *SplitIndexFinder) Bytes() ([]byte, error) { method Stats (line 332) | func (splitFinder *SplitIndexFinder) Stats() []metrics.FinderStat { function WrapSplitIndex (line 43) | func WrapSplitIndex( function splitQuery (line 130) | func splitQuery(query string, maxNodeToSplitIdx int) ([]string, error) { function splitPartOfQuery (line 226) | func splitPartOfQuery(prefix, queryPart, suffix string) ([]string, error) { FILE: finder/split_test.go function Test_splitQuery (line 16) | func Test_splitQuery(t *testing.T) { function TestSplitIndexFinder_whereFilter (line 203) | func TestSplitIndexFinder_whereFilter(t *testing.T) { FILE: finder/tag.go type TagState (line 16) | type TagState constant TagRoot (line 19) | TagRoot TagState = iota constant TagSkip (line 20) | TagSkip constant TagInfoRoot (line 21) | TagInfoRoot constant TagList (line 22) | TagList constant TagListSeriesRoot (line 23) | TagListSeriesRoot constant TagListSeries (line 24) | TagListSeries constant TagListParam (line 25) | TagListParam type TagQ (line 28) | type TagQ struct method String (line 33) | func (q TagQ) String() string { method Where (line 49) | func (q *TagQ) Where(field string) string { type TagFinder (line 65) | type TagFinder struct method tagListSQL (line 92) | func (t *TagFinder) tagListSQL() (string, error) { method seriesSQL (line 123) | func (t *TagFinder) seriesSQL() (string, error) { method MakeSQL (line 149) | func (t *TagFinder) MakeSQL(query string) (string, error) { method Execute (line 214) | func (t *TagFinder) Execute(ctx context.Context, config *config.Config... method List (line 249) | func (t *TagFinder) List() [][]byte { method Series (line 305) | func (t *TagFinder) Series() [][]byte { method Abs (line 338) | func (t *TagFinder) Abs(v []byte) []byte { method Bytes (line 346) | func (t *TagFinder) Bytes() ([]byte, error) { method Stats (line 350) | func (t *TagFinder) Stats() []metrics.FinderStat { function WrapTag (line 81) | func WrapTag(f Finder, url string, table string, opts clickhouse.Options... FILE: finder/tag_test.go function TestTagsMakeSQL (line 16) | func TestTagsMakeSQL(t *testing.T) { function _TestTags (line 59) | func _TestTags(t *testing.T) { FILE: finder/tagged.go type TaggedTermOp (line 28) | type TaggedTermOp constant TaggedTermEq (line 31) | TaggedTermEq TaggedTermOp = 1 constant TaggedTermMatch (line 32) | TaggedTermMatch TaggedTermOp = 2 constant TaggedTermNe (line 33) | TaggedTermNe TaggedTermOp = 3 constant TaggedTermNotMatch (line 34) | TaggedTermNotMatch TaggedTermOp = 4 type TaggedTerm (line 37) | type TaggedTerm struct method concat (line 121) | func (term *TaggedTerm) concat() string { method concatMask (line 125) | func (term *TaggedTerm) concatMask() string { type TaggedTermList (line 49) | type TaggedTermList method Len (line 51) | func (s TaggedTermList) Len() int { method Swap (line 54) | func (s TaggedTermList) Swap(i, j int) { method Less (line 57) | func (s TaggedTermList) Less(i, j int) bool { type TaggedFinder (line 78) | type TaggedFinder struct method Execute (line 473) | func (t *TaggedFinder) Execute(ctx context.Context, config *config.Con... method whereFilter (line 482) | func (t *TaggedFinder) whereFilter(terms []TaggedTerm, from int64, unt... method ExecutePrepared (line 504) | func (t *TaggedFinder) ExecutePrepared(ctx context.Context, terms []Ta... method List (line 522) | func (t *TaggedFinder) List() [][]byte { method Series (line 547) | func (t *TaggedFinder) Series() [][]byte { method Abs (line 598) | func (t *TaggedFinder) Abs(v []byte) []byte { method Bytes (line 606) | func (t *TaggedFinder) Bytes() ([]byte, error) { method Stats (line 610) | func (t *TaggedFinder) Stats() []metrics.FinderStat { method PrepareTaggedTerms (line 614) | func (t *TaggedFinder) PrepareTaggedTerms(ctx context.Context, cfg *co... function NewTagged (line 93) | func NewTagged(url string, table, tag1CountTable string, dailyEnabled, u... function TaggedTermWhere1 (line 130) | func TaggedTermWhere1(term *TaggedTerm, useCarbonBehaviour, dontMatchMis... function TaggedTermWhereN (line 205) | func TaggedTermWhereN(term *TaggedTerm, useCarbonBehaviour, dontMatchMis... function setCost (line 284) | func setCost(term *TaggedTerm, costs *config.Costs) { function ParseTaggedConditions (line 302) | func ParseTaggedConditions(conditions []string, config *config.Config, a... function parseString (line 368) | func parseString(s string) (string, string, error) { function seriesByTagArgs (line 389) | func seriesByTagArgs(query string) ([]string, error) { function ParseSeriesByTag (line 427) | func ParseSeriesByTag(query string, config *config.Config) ([]TaggedTerm... function TaggedWhere (line 440) | func TaggedWhere(terms []TaggedTerm, useCarbonBehaviour, dontMatchMissin... function NewCachedTags (line 467) | func NewCachedTags(body []byte) *TaggedFinder { function tagsParse (line 551) | func tagsParse(path string) (string, []string, error) { function TaggedDecode (line 565) | func TaggedDecode(v []byte) []byte { function SortTaggedTermsByCost (line 639) | func SortTaggedTermsByCost(terms []TaggedTerm) { function SetCosts (line 674) | func SetCosts(terms []TaggedTerm, costs map[string]*config.Costs) { FILE: finder/tagged_test.go function TestTaggedWhere (line 21) | func TestTaggedWhere(t *testing.T) { function TestTaggedWhere_UseCarbonBehaviourFlag (line 122) | func TestTaggedWhere_UseCarbonBehaviourFlag(t *testing.T) { function TestTaggedWhere_DontMatchMissingTagsFlag (line 223) | func TestTaggedWhere_DontMatchMissingTagsFlag(t *testing.T) { function TestTaggedWhere_BothFeatureFlags (line 326) | func TestTaggedWhere_BothFeatureFlags(t *testing.T) { function TestParseSeriesByTag (line 429) | func TestParseSeriesByTag(t *testing.T) { function newInt (line 480) | func newInt(i int) *int { function TestParseSeriesByTagWithCosts (line 487) | func TestParseSeriesByTagWithCosts(t *testing.T) { function BenchmarkParseSeriesByTag (line 594) | func BenchmarkParseSeriesByTag(b *testing.B) { function TestParseSeriesByTagWithCostsFromCountTable (line 609) | func TestParseSeriesByTagWithCostsFromCountTable(t *testing.T) { function TestTaggedFinder_whereFilter (line 929) | func TestTaggedFinder_whereFilter(t *testing.T) { function TestTaggedFinder_Abs (line 1014) | func TestTaggedFinder_Abs(t *testing.T) { FILE: finder/tags_count_querier.go type TagCountQuerier (line 18) | type TagCountQuerier struct method GetCostsFromCountTable (line 40) | func (tcq *TagCountQuerier) GetCostsFromCountTable(ctx context.Context... method List (line 156) | func (t *TagCountQuerier) List() [][]byte { method Stats (line 181) | func (tcq *TagCountQuerier) Stats() []metrics.FinderStat { function NewTagCountQuerier (line 29) | func NewTagCountQuerier(url, table string, opts clickhouse.Options, useC... function chResultToCosts (line 113) | func chResultToCosts(body [][]byte) (map[string]*config.Costs, error) { function parseTag1CountRow (line 134) | func parseTag1CountRow(s string) (string, string, int, error) { FILE: finder/unescape.go function ishex (line 5) | func ishex(c byte) bool { function unhex (line 18) | func unhex(c byte) byte { function isPercentEscape (line 31) | func isPercentEscape(s string, i int) bool { function unescape (line 36) | func unescape(s string) string { FILE: graphite-clickhouse.go constant Version (line 42) | Version = "0.14.0" function init (line 44) | func init() { type LogResponseWriter (line 48) | type LogResponseWriter struct method WriteHeader (line 54) | func (w *LogResponseWriter) WriteHeader(status int) { method Status (line 59) | func (w *LogResponseWriter) Status() int { function WrapResponseWriter (line 67) | func WrapResponseWriter(w http.ResponseWriter) *LogResponseWriter { type App (line 75) | type App struct method Handler (line 79) | func (app *App) Handler(handler http.Handler) http.Handler { function sdList (line 96) | func sdList(name string, args []string) { function sdDelete (line 139) | func sdDelete(name string, args []string) { function sdEvict (line 181) | func sdEvict(name string, args []string) { function sdExpired (line 220) | func sdExpired(name string, args []string) { function sdClean (line 259) | func sdClean(name string, args []string) { function printMatchedRollupRules (line 298) | func printMatchedRollupRules(metric string, age uint32, rollupRules *rol... function checkRollupMatch (line 326) | func checkRollupMatch(name string, args []string) { function main (line 415) | func main() { FILE: healthcheck/healthcheck.go type Handler (line 19) | type Handler struct method ServeHTTP (line 35) | func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { function NewHandler (line 26) | func NewHandler(config *config.Config) *Handler { FILE: helper/RowBinary/encode.go constant NullUint32 (line 10) | NullUint32 = ^uint32(0) function DateToUint16 (line 12) | func DateToUint16(t time.Time) uint16 { type Encoder (line 16) | type Encoder struct method Date (line 28) | func (w *Encoder) Date(value time.Time) error { method Uint8 (line 32) | func (w *Encoder) Uint8(value uint8) error { method Uint16 (line 37) | func (w *Encoder) Uint16(value uint16) error { method Uint32 (line 44) | func (w *Encoder) Uint32(value uint32) error { method NullableUint32 (line 51) | func (w *Encoder) NullableUint32(value uint32) error { method Uint64 (line 65) | func (w *Encoder) Uint64(value uint64) error { method Float64 (line 72) | func (w *Encoder) Float64(value float64) error { method NullableFloat64 (line 76) | func (w *Encoder) NullableFloat64(value float64) error { method Bytes (line 90) | func (w *Encoder) Bytes(value []byte) error { method String (line 103) | func (w *Encoder) String(value string) error { method StringList (line 107) | func (w *Encoder) StringList(value []string) error { method Uint32List (line 125) | func (w *Encoder) Uint32List(value []uint32) error { method NullableUint32List (line 143) | func (w *Encoder) NullableUint32List(value []uint32) error { method Float64List (line 161) | func (w *Encoder) Float64List(value []float64) error { method NullableFloat64List (line 179) | func (w *Encoder) NullableFloat64List(value []float64) error { function NewEncoder (line 21) | func NewEncoder(w io.Writer) *Encoder { FILE: helper/clickhouse/clickhouse.go type ErrWithDescr (line 30) | type ErrWithDescr struct method Error (line 52) | func (e *ErrWithDescr) Error() string { method PrependDescription (line 56) | func (e *ErrWithDescr) PrependDescription(test string) { type ContentEncoding (line 35) | type ContentEncoding constant ContentEncodingNone (line 38) | ContentEncodingNone ContentEncoding = "none" constant ContentEncodingGzip (line 39) | ContentEncodingGzip ContentEncoding = "gzip" constant ContentEncodingZstd (line 40) | ContentEncodingZstd ContentEncoding = "zstd" constant ClickHouseProgressHeader (line 44) | ClickHouseProgressHeader string = "X-Clickhouse-Progress" constant ClickHouseSummaryHeader (line 45) | ClickHouseSummaryHeader string = "X-Clickhouse-Summary" function NewErrWithDescr (line 48) | func NewErrWithDescr(err string, data string) error { function extractClickhouseError (line 65) | func extractClickhouseError(e string) (int, string) { function HandleError (line 94) | func HandleError(w http.ResponseWriter, err error) (status int, queueFai... type Options (line 167) | type Options struct type LoggedReader (line 175) | type LoggedReader struct method Read (line 185) | func (r *LoggedReader) Read(p []byte) (int, error) { method Close (line 195) | func (r *LoggedReader) Close() error { method ChReadRows (line 206) | func (r *LoggedReader) ChReadRows() int64 { method ChReadBytes (line 210) | func (r *LoggedReader) ChReadBytes() int64 { type queryStats (line 214) | type queryStats struct function formatSQL (line 221) | func formatSQL(q string) string { function Query (line 230) | func Query(ctx context.Context, dsn string, query string, opts Options, ... function Post (line 234) | func Post(ctx context.Context, dsn string, query string, postBody io.Rea... function PostGzip (line 239) | func PostGzip(ctx context.Context, dsn string, query string, postBody io... function PostWithEncoding (line 243) | func PostWithEncoding(ctx context.Context, dsn string, query string, pos... function Reader (line 247) | func Reader(ctx context.Context, dsn string, query string, opts Options,... function reader (line 251) | func reader(ctx context.Context, dsn string, query string, postBody io.R... function getQueryStats (line 408) | func getQueryStats(resp *http.Response, statsHeaderName string) (querySt... function sendRequestViaDefaultClient (line 470) | func sendRequestViaDefaultClient(request *http.Request, opts *Options) (... function sendRequestWithProgressCheck (line 485) | func sendRequestWithProgressCheck(request *http.Request, opts *Options) ... function do (line 497) | func do(ctx context.Context, dsn string, query string, postBody io.Reade... function ReadUvarint (line 513) | func ReadUvarint(array []byte) (uint64, int, error) { FILE: helper/clickhouse/clickhouse_test.go function Test_extractClickhouseError (line 10) | func Test_extractClickhouseError(t *testing.T) { FILE: helper/clickhouse/external-data.go type ExternalTable (line 18) | type ExternalTable struct type Column (line 28) | type Column struct method String (line 34) | func (c *Column) String() string { type ExternalData (line 40) | type ExternalData struct method SetDebug (line 57) | func (e *ExternalData) SetDebug(debugDir string, perm os.FileMode) { method buildBody (line 66) | func (e *ExternalData) buildBody(ctx context.Context, u *url.URL) (*by... method debugDump (line 111) | func (e *ExternalData) debugDump(ctx context.Context, u url.URL) { type extDataDebug (line 45) | type extDataDebug struct function NewExternalData (line 51) | func NewExternalData(tables ...ExternalTable) *ExternalData { FILE: helper/clickhouse/external-data_test.go function getTestCases (line 17) | func getTestCases() (tables []ExternalTable) { function TestColumnString (line 54) | func TestColumnString(t *testing.T) { function TestNewExternalData (line 63) | func TestNewExternalData(t *testing.T) { function TestBuildBody (line 71) | func TestBuildBody(t *testing.T) { function TestDebugDump (line 102) | func TestDebugDump(t *testing.T) { FILE: helper/client/datetime.go function MetricsTimestampTruncate (line 9) | func MetricsTimestampTruncate(metrics []Metric, precision time.Duration) { FILE: helper/client/errros.go type HttpError (line 5) | type HttpError struct method Error (line 17) | func (e *HttpError) Error() string { function NewHttpError (line 10) | func NewHttpError(statusCode int, message string) *HttpError { FILE: helper/client/find.go type FindMatch (line 16) | type FindMatch struct function MetricsFind (line 23) | func MetricsFind(client *http.Client, address string, format FormatType,... FILE: helper/client/render.go type Metric (line 25) | type Metric struct function Render (line 42) | func Render(client *http.Client, address string, format FormatType, targ... function Decode (line 151) | func Decode(b []byte, format FormatType) ([]Metric, error) { type jsonResponse (line 277) | type jsonResponse struct type jsonMetric (line 281) | type jsonMetric struct FILE: helper/client/requests.go type MultiGlobRequestV3 (line 5) | type MultiGlobRequestV3 struct method Marshal (line 9) | func (r *MultiGlobRequestV3) Marshal() ([]byte, error) { method LogInfo (line 13) | func (r *MultiGlobRequestV3) LogInfo() interface{} { FILE: helper/client/tags.go function TagsNames (line 18) | func TagsNames(client *http.Client, address string, format FormatType, q... function TagsValues (line 152) | func TagsValues(client *http.Client, address string, format FormatType, ... FILE: helper/client/types.go type FormatType (line 8) | type FormatType method String (line 21) | func (a *FormatType) String() string { method Set (line 29) | func (a *FormatType) Set(value string) error { method UnmarshalText (line 48) | func (a *FormatType) UnmarshalText(text []byte) error { constant FormatDefault (line 11) | FormatDefault FormatType = iota constant FormatJSON (line 12) | FormatJSON constant FormatProtobuf (line 13) | FormatProtobuf constant FormatPb_v2 (line 14) | FormatPb_v2 constant FormatPb_v3 (line 15) | FormatPb_v3 constant FormatPickle (line 16) | FormatPickle function FormatTypes (line 25) | func FormatTypes() []string { FILE: helper/date/date.go function SetDefault (line 11) | func SetDefault() { function SetUTC (line 19) | func SetUTC() { function SetBoth (line 27) | func SetBoth() { function init (line 34) | func init() { function DefaultTimestampToDaysFormat (line 39) | func DefaultTimestampToDaysFormat(ts int64) string { function DefaultTimeToDaysFormat (line 45) | func DefaultTimeToDaysFormat(t time.Time) string { function UTCTimestampToDaysFormat (line 49) | func UTCTimestampToDaysFormat(timestamp int64) string { function UTCTimeToDaysFormat (line 53) | func UTCTimeToDaysFormat(t time.Time) string { function defaultDate (line 57) | func defaultDate(t time.Time) time.Time { function minLocalAndUTC (line 61) | func minLocalAndUTC(t time.Time) time.Time { function MinTimestampToDaysFormat (line 73) | func MinTimestampToDaysFormat(ts int64) string { function MinTimeToDaysFormat (line 79) | func MinTimeToDaysFormat(t time.Time) string { function maxLocalAndUTC (line 84) | func maxLocalAndUTC(t time.Time) time.Time { function MaxTimestampToDaysFormat (line 96) | func MaxTimestampToDaysFormat(ts int64) string { function MaxTimeToDaysFormat (line 102) | func MaxTimeToDaysFormat(t time.Time) string { FILE: helper/date/date_test.go function isVerbose (line 12) | func isVerbose() bool { function init (line 22) | func init() { function TestDefaultTimestampToDaysFormat (line 55) | func TestDefaultTimestampToDaysFormat(t *testing.T) { function TestDefaultTimeToDaysFormat (line 101) | func TestDefaultTimeToDaysFormat(t *testing.T) { function TestUTCTimestampToDaysFormat (line 139) | func TestUTCTimestampToDaysFormat(t *testing.T) { function TestUTCTimeToDaysFormat (line 177) | func TestUTCTimeToDaysFormat(t *testing.T) { function TestMinMaxTimestampToDaysFormat (line 215) | func TestMinMaxTimestampToDaysFormat(t *testing.T) { FILE: helper/datetime/datetime.go function parseTime (line 15) | func parseTime(s string) (hour, minute int, err error) { function DateParamToEpoch (line 47) | func DateParamToEpoch(s string, tz *time.Location, now time.Time, trunca... function Timezone (line 195) | func Timezone(qtz string) (*time.Location, error) { function TimestampTruncate (line 203) | func TimestampTruncate(ts int64, truncate time.Duration) int64 { function TimeTruncate (line 213) | func TimeTruncate(tm time.Time, truncate time.Duration) time.Time { FILE: helper/datetime/datetime_test.go function TestDateParamToEpoch (line 8) | func TestDateParamToEpoch(t *testing.T) { function TestDateParamToEpochTruncate (line 62) | func TestDateParamToEpochTruncate(t *testing.T) { FILE: helper/errs/errors.go type ErrorWithCode (line 5) | type ErrorWithCode struct method Error (line 18) | func (e ErrorWithCode) Error() string { return e.err } function NewErrorWithCode (line 10) | func NewErrorWithCode(err string, code int) error { function NewErrorfWithCode (line 14) | func NewErrorfWithCode(code int, f string, args ...interface{}) error { FILE: helper/headers/headers.go function GetHeaders (line 5) | func GetHeaders(header *http.Header, keys []string) map[string]string { FILE: helper/http/live-http-client.go constant TCPNetwork (line 13) | TCPNetwork string = "tcp" function DoHTTPOverTCP (line 15) | func DoHTTPOverTCP(ctx context.Context, transport *http.Transport, req *... FILE: helper/pickle/pickle.go type Writer (line 12) | type Writer struct method Mark (line 20) | func (p *Writer) Mark() { method Stop (line 24) | func (p *Writer) Stop() { method Append (line 28) | func (p *Writer) Append() { method SetItem (line 32) | func (p *Writer) SetItem() { method List (line 36) | func (p *Writer) List() { method Dict (line 40) | func (p *Writer) Dict() { method TupleEnd (line 44) | func (p *Writer) TupleEnd() { method Bytes (line 48) | func (p *Writer) Bytes(byt []byte) { method String (line 63) | func (p *Writer) String(v string) { method Uint32 (line 67) | func (p *Writer) Uint32(v uint32) { method AppendFloat64 (line 76) | func (p *Writer) AppendFloat64(v float64) { method AppendNulls (line 88) | func (p *Writer) AppendNulls(count int) { method Bool (line 94) | func (p *Writer) Bool(b bool) { function NewWriter (line 16) | func NewWriter(w io.Writer) *Writer { FILE: helper/point/func.go function CleanUp (line 10) | func CleanUp(points []Point) []Point { function Uniq (line 29) | func Uniq(points []Point) []Point { function FillNulls (line 55) | func FillNulls(points []Point, from, until, step uint32) (start, stop, c... FILE: helper/point/func_test.go function TestUniq (line 14) | func TestUniq(t *testing.T) { function TestCleanUp (line 56) | func TestCleanUp(t *testing.T) { function TestFillNulls (line 106) | func TestFillNulls(t *testing.T) { FILE: helper/point/point.go type Point (line 5) | type Point struct type GetValueOrNaN (line 13) | type GetValueOrNaN FILE: helper/point/points.go type Points (line 9) | type Points struct method AppendPoint (line 31) | func (pp *Points) AppendPoint(metricID uint32, value float64, time uin... method MetricID (line 41) | func (pp *Points) MetricID(metricName string) uint32 { method MetricIDBytes (line 53) | func (pp *Points) MetricIDBytes(metricNameBytes []byte) uint32 { method MetricName (line 59) | func (pp *Points) MetricName(metricID uint32) string { method List (line 69) | func (pp *Points) List() []Point { method ReplaceList (line 74) | func (pp *Points) ReplaceList(list []Point) { method GetStep (line 79) | func (pp *Points) GetStep(id uint32) (uint32, error) { method SetSteps (line 89) | func (pp *Points) SetSteps(steps map[uint32][]string) { method GetAggregation (line 106) | func (pp *Points) GetAggregation(id uint32) (string, error) { method SetAggregations (line 116) | func (pp *Points) SetAggregations(functions map[string][]string) { method Len (line 133) | func (pp *Points) Len() int { method Less (line 137) | func (pp *Points) Less(i, j int) bool { method Swap (line 145) | func (pp *Points) Swap(i, j int) { method Sort (line 150) | func (pp *Points) Sort() { method Uniq (line 155) | func (pp *Points) Uniq() { method GroupByMetric (line 161) | func (pp *Points) GroupByMetric() NextMetric { type NextMetric (line 19) | type NextMetric function NewPoints (line 22) | func NewPoints() *Points { FILE: helper/rollup/aggr.go type Aggr (line 16) | type Aggr struct method Name (line 21) | func (ag *Aggr) Name() string { method String (line 29) | func (ag *Aggr) String() string { method Do (line 37) | func (ag *Aggr) Do(points []point.Point) (r float64) { function AggrSum (line 45) | func AggrSum(points []point.Point) (r float64) { function AggrMax (line 53) | func AggrMax(points []point.Point) (r float64) { function AggrMin (line 67) | func AggrMin(points []point.Point) (r float64) { function AggrAvg (line 81) | func AggrAvg(points []point.Point) (r float64) { function AggrAny (line 91) | func AggrAny(points []point.Point) (r float64) { function AggrAnyLast (line 99) | func AggrAnyLast(points []point.Point) (r float64) { FILE: helper/rollup/compact.go function parseCompact (line 15) | func parseCompact(body string) (*Rules, error) { FILE: helper/rollup/compact_test.go function TestParseCompact (line 9) | func TestParseCompact(t *testing.T) { FILE: helper/rollup/remote.go type rollupRulesResponseRecord (line 17) | type rollupRulesResponseRecord struct type rollupRulesResponse (line 25) | type rollupRulesResponse struct function parseJson (line 29) | func parseJson(body []byte) (*Rules, error) { function RemoteLoad (line 115) | func RemoteLoad(addr string, tlsConf *tls.Config, table string) (*Rules,... FILE: helper/rollup/remote_test.go function assertJsonEqual (line 11) | func assertJsonEqual(t *testing.T, expected string, actual string) { function TestParseJson (line 21) | func TestParseJson(t *testing.T) { function TestParseJsonTyped (line 129) | func TestParseJsonTyped(t *testing.T) { FILE: helper/rollup/rollup.go type Rollup (line 15) | type Rollup struct method Rules (line 79) | func (r *Rollup) Rules() *Rules { method update (line 87) | func (r *Rollup) update() error { method updateWorker (line 107) | func (r *Rollup) updateWorker() { method MarshalJSON (line 122) | func (r *Rollup) MarshalJSON() ([]byte, error) { function NewAuto (line 26) | func NewAuto(addr string, tlsConfig *tls.Config, table string, interval ... function NewXMLFile (line 41) | func NewXMLFile(filename string, defaultPrecision uint32, defaultFunctio... function NewDefault (line 64) | func NewDefault(defaultPrecision uint32, defaultFunction string) (*Rollu... FILE: helper/rollup/rules.go type Retention (line 16) | type Retention struct type RuleType (line 21) | type RuleType method String (line 34) | func (r *RuleType) String() string { method Set (line 38) | func (r *RuleType) Set(value string) error { method UnmarshalJSON (line 55) | func (r *RuleType) UnmarshalJSON(data []byte) error { method UnmarshalXML (line 64) | func (r *RuleType) UnmarshalXML(d *xml.Decoder, start xml.StartElement... constant RuleAll (line 24) | RuleAll RuleType = iota constant RulePlain (line 25) | RulePlain constant RuleTagged (line 26) | RuleTagged constant RuleTagList (line 27) | RuleTagList function splitTags (line 73) | func splitTags(tagsStr string) (tags []string) { function buildTaggedRegex (line 86) | func buildTaggedRegex(regexpStr string) string { type Pattern (line 137) | type Pattern struct method compile (line 174) | func (p *Pattern) compile() error { type Rules (line 146) | type Rules struct method compile (line 211) | func (r *Rules) compile() (*Rules, error) { method prepare (line 247) | func (r *Rules) prepare(defaultPrecision uint32, defaultFunction strin... method withDefault (line 256) | func (r *Rules) withDefault(defaultPrecision uint32, defaultFunction *... method setUpdated (line 275) | func (r *Rules) setUpdated() *Rules { method withSuperDefault (line 280) | func (r *Rules) withSuperDefault() *Rules { method Lookup (line 285) | func (r *Rules) Lookup(metric string, age uint32, verbose bool) (preci... method LookupBytes (line 366) | func (r *Rules) LookupBytes(metric []byte, age uint32, verbose bool) (... method RollupMetricAge (line 411) | func (r *Rules) RollupMetricAge(metricName string, age uint32, points ... method RollupMetric (line 425) | func (r *Rules) RollupMetric(metricName string, from uint32, points []... method RollupPoints (line 438) | func (r *Rules) RollupPoints(pp *point.Points, from int64, step int64)... function NewMockRules (line 155) | func NewMockRules(pattern []Pattern, defaultPrecision uint32, defaultFun... constant superDefaultPrecision (line 172) | superDefaultPrecision = uint32(60) function lookup (line 298) | func lookup(metric string, age uint32, patterns []Pattern, verbose bool)... function doMetricPrecision (line 370) | func doMetricPrecision(points []point.Point, precision uint32, aggr *Agg... FILE: helper/rollup/rules_test.go function TestMetricPrecision (line 15) | func TestMetricPrecision(t *testing.T) { function Test_buildTaggedRegex (line 36) | func Test_buildTaggedRegex(t *testing.T) { function TestLookup (line 95) | func TestLookup(t *testing.T) { function TestLookupTyped (line 140) | func TestLookupTyped(t *testing.T) { function TestRules_RollupPoints (line 283) | func TestRules_RollupPoints(t *testing.T) { function BenchmarkLookupSum (line 705) | func BenchmarkLookupSum(b *testing.B) { function BenchmarkLookupSumSeparated (line 718) | func BenchmarkLookupSumSeparated(b *testing.B) { function BenchmarkLookupSumTagged (line 731) | func BenchmarkLookupSumTagged(b *testing.B) { function BenchmarkLookupSumTaggedSeparated (line 744) | func BenchmarkLookupSumTaggedSeparated(b *testing.B) { function BenchmarkLookupMax (line 757) | func BenchmarkLookupMax(b *testing.B) { function BenchmarkLookupMaxSeparated (line 770) | func BenchmarkLookupMaxSeparated(b *testing.B) { function BenchmarkLookupMaxTagged (line 783) | func BenchmarkLookupMaxTagged(b *testing.B) { function BenchmarkLookupMaxTaggedSeparated (line 796) | func BenchmarkLookupMaxTaggedSeparated(b *testing.B) { function BenchmarkLookupDefault (line 809) | func BenchmarkLookupDefault(b *testing.B) { function BenchmarkLookupDefaultSeparated (line 822) | func BenchmarkLookupDefaultSeparated(b *testing.B) { function BenchmarkLookupDefaultTagged (line 835) | func BenchmarkLookupDefaultTagged(b *testing.B) { function BenchmarkLookupDefaultTaggedSeparated (line 848) | func BenchmarkLookupDefaultTaggedSeparated(b *testing.B) { FILE: helper/rollup/xml.go type ClickhouseRollupXML (line 39) | type ClickhouseRollupXML struct type RetentionXML (line 43) | type RetentionXML struct method retention (line 60) | func (r *RetentionXML) retention() Retention { type PatternXML (line 48) | type PatternXML struct method pattern (line 64) | func (p *PatternXML) pattern() Pattern { type RulesXML (line 55) | type RulesXML struct function parseXML (line 79) | func parseXML(body []byte) (*Rules, error) { FILE: helper/rollup/xml_test.go function TestParseXML (line 12) | func TestParseXML(t *testing.T) { function TestParseXMLTyped (line 115) | func TestParseXMLTyped(t *testing.T) { FILE: helper/tests/clickhouse/server.go type TestResponse (line 11) | type TestResponse struct type TestHandler (line 17) | type TestHandler struct method ServeHTTP (line 28) | func (h *TestHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { type TestServer (line 23) | type TestServer struct method AddResponce (line 62) | func (s *TestServer) AddResponce(request string, response *TestRespons... method Queries (line 68) | func (s *TestServer) Queries() uint64 { function NewTestServer (line 54) | func NewTestServer() *TestServer { FILE: helper/tests/compare/compare.go constant eps (line 5) | eps = 0.0000000001 function NearlyEqualSlice (line 7) | func NearlyEqualSlice(a, b []float64) bool { function NearlyEqual (line 31) | func NearlyEqual(a, b float64) bool { function Max (line 48) | func Max(a, b int) int { FILE: helper/tests/compare/expand/expand.go function ExpandTimestamp (line 10) | func ExpandTimestamp(fs *token.FileSet, s string, replace map[string]str... FILE: helper/utils/utils.go function TimestampTruncate (line 6) | func TimestampTruncate(ts int64, duration time.Duration) int64 { FILE: helper/utils/utils_test.go function TestTimestampTruncate (line 9) | func TestTimestampTruncate(t *testing.T) { FILE: index/handler.go type Handler (line 12) | type Handler struct method ServeHTTP (line 22) | func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { function NewHandler (line 16) | func NewHandler(config *config.Config) *Handler { FILE: index/index.go type Index (line 18) | type Index struct method Close (line 67) | func (i *Index) Close() error { method WriteJSON (line 71) | func (i *Index) WriteJSON(w http.ResponseWriter) error { function New (line 23) | func New(config *config.Config, ctx context.Context) (*Index, error) { FILE: index/index_test.go function TestWriteJSONEmptyRows (line 12) | func TestWriteJSONEmptyRows(t *testing.T) { function TestWriteJSONNonleafRows (line 35) | func TestWriteJSONNonleafRows(t *testing.T) { function TestWriteJSONEmptyIndex (line 57) | func TestWriteJSONEmptyIndex(t *testing.T) { function indexForBytes (line 70) | func indexForBytes(b []byte) *Index { function writeRows (line 79) | func writeRows(rows []string) ([]string, error) { FILE: limiter/alimiter.go function getWeighted (line 17) | func getWeighted(n, max int) int { type ALimiter (line 40) | type ALimiter struct method balance (line 74) | func (sl *ALimiter) balance() int { method Capacity (line 104) | func (sl *ALimiter) Capacity() int { method Enter (line 108) | func (sl *ALimiter) Enter(ctx context.Context, s string) (err error) { method TryEnter (line 134) | func (sl *ALimiter) TryEnter(ctx context.Context, s string) (err error) { method Leave (line 160) | func (sl *ALimiter) Leave(ctx context.Context, s string) { method SendDuration (line 169) | func (sl *ALimiter) SendDuration(queueMs int64) { method Unregiter (line 176) | func (sl *ALimiter) Unregiter() { method Enabled (line 181) | func (sl *ALimiter) Enabled() bool { function NewALimiter (line 50) | func NewALimiter(capacity, concurrent, n int, enableMetrics bool, scope,... FILE: limiter/alimiter_test.go function Test_getWeighted (line 15) | func Test_getWeighted(t *testing.T) { function TestNewALimiter (line 50) | func TestNewALimiter(t *testing.T) { type testLimiter (line 125) | type testLimiter struct function Benchmark_Limiter_Parallel (line 132) | func Benchmark_Limiter_Parallel(b *testing.B) { FILE: limiter/interface.go type ServerLimiter (line 13) | type ServerLimiter interface FILE: limiter/limiter.go type limiter (line 9) | type limiter struct method capacity (line 83) | func (sl *limiter) capacity() int { method enter (line 88) | func (sl *limiter) enter(ctx context.Context, s string) error { method tryEnter (line 98) | func (sl *limiter) tryEnter(ctx context.Context, s string) error { method leave (line 108) | func (sl *limiter) leave(ctx context.Context, s string) { type Limiter (line 15) | type Limiter struct method Capacity (line 35) | func (sl *Limiter) Capacity() int { method Enter (line 40) | func (sl *Limiter) Enter(ctx context.Context, s string) (err error) { method TryEnter (line 51) | func (sl *Limiter) TryEnter(ctx context.Context, s string) (err error) { method Leave (line 62) | func (sl *Limiter) Leave(ctx context.Context, s string) { method SendDuration (line 67) | func (sl *Limiter) SendDuration(queueMs int64) { method Unregiter (line 74) | func (sl *Limiter) Unregiter() { method Enabled (line 79) | func (sl *Limiter) Enabled() bool { function NewLimiter (line 21) | func NewLimiter(capacity int, enableMetrics bool, scope, sub string) Ser... FILE: limiter/noop.go type NoopLimiter (line 8) | type NoopLimiter struct method Capacity (line 11) | func (l NoopLimiter) Capacity() int { method Enter (line 16) | func (l NoopLimiter) Enter(ctx context.Context, s string) error { method TryEnter (line 21) | func (l NoopLimiter) TryEnter(ctx context.Context, s string) error { method Leave (line 26) | func (l NoopLimiter) Leave(ctx context.Context, s string) { method SendDuration (line 30) | func (l NoopLimiter) SendDuration(queueMs int64) { method Unregiter (line 34) | func (l NoopLimiter) Unregiter() { method Enabled (line 38) | func (l NoopLimiter) Enabled() bool { FILE: limiter/wlimiter.go type WLimiter (line 10) | type WLimiter struct method Capacity (line 42) | func (sl *WLimiter) Capacity() int { method Enter (line 46) | func (sl *WLimiter) Enter(ctx context.Context, s string) (err error) { method TryEnter (line 72) | func (sl *WLimiter) TryEnter(ctx context.Context, s string) (err error) { method Leave (line 98) | func (sl *WLimiter) Leave(ctx context.Context, s string) { method SendDuration (line 107) | func (sl *WLimiter) SendDuration(queueMs int64) { method Unregiter (line 114) | func (sl *WLimiter) Unregiter() { method Enabled (line 119) | func (sl *WLimiter) Enabled() bool { function NewWLimiter (line 17) | func NewWLimiter(capacity, concurrent int, enableMetrics bool, scope, su... FILE: load_avg/load_avg.go function Load (line 11) | func Load() float64 { function Store (line 15) | func Store(f float64) { function Weight (line 19) | func Weight(weight int, degraged, degragedLoadAvg, normalizedLoadAvg flo... FILE: load_avg/load_avg_default.go function Normalized (line 6) | func Normalized() (float64, error) { function CpuCount (line 10) | func CpuCount() (uint64, error) { FILE: load_avg/load_avg_linux.go function Normalized (line 14) | func Normalized() (float64, error) { function CpuCount (line 33) | func CpuCount() (uint64, error) { FILE: load_avg/load_avg_test.go function TestWeight (line 8) | func TestWeight(t *testing.T) { FILE: logs/logger.go function AccessLog (line 14) | func AccessLog(logger *zap.Logger, config *config.Config, r *http.Reques... FILE: metrics/metrics.go type Config (line 15) | type Config struct type CacheMetric (line 33) | type CacheMetric struct type ReqMetric (line 44) | type ReqMetric struct type WaitMetric (line 60) | type WaitMetric struct method Unregister (line 91) | func (w *WaitMetric) Unregister() { function NewWaitMetric (line 68) | func NewWaitMetric(enable bool, scope, sub string) WaitMetric { function NewDisabledWaitMetric (line 98) | func NewDisabledWaitMetric() *WaitMetric { type FindMetrics (line 104) | type FindMetrics struct type RenderMetric (line 111) | type RenderMetric struct type RenderMetrics (line 116) | type RenderMetrics struct function initFindCacheMetrics (line 127) | func initFindCacheMetrics(c *Config) { function initFindMetrics (line 152) | func initFindMetrics(scope string, c *Config, waitQueue bool) *FindMetri... function initRenderMetrics (line 242) | func initRenderMetrics(scope string, c *Config) *RenderMetrics { function SendFindMetrics (line 339) | func SendFindMetrics(r *FindMetrics, statusCode int, durationMs, untilFr... function SendRenderMetrics (line 450) | func SendRenderMetrics(r *RenderMetrics, statusCode int, start, fetch, e... type rangeName (line 594) | type rangeName struct function InitMetrics (line 599) | func InitMetrics(c *Config, findWaitQueue, tagsWaitQueue bool) { function DisableMetrics (line 689) | func DisableMetrics() { function UnregisterAll (line 695) | func UnregisterAll() { FILE: metrics/metrics_test.go function max (line 14) | func max(a, b int) int { function compareInterface (line 22) | func compareInterface(t *testing.T, name string, i interface{}, notNil b... function TestInitMetrics (line 31) | func TestInitMetrics(t *testing.T) { FILE: metrics/query_metrics.go type QueryMetric (line 5) | type QueryMetric struct type QueryMetrics (line 14) | type QueryMetrics struct type FinderStat (line 21) | type FinderStat struct function InitQueryMetrics (line 34) | func InitQueryMetrics(table string, c *Config) *QueryMetrics { function SendQueryRead (line 83) | func SendQueryRead(r *QueryMetrics, from, until, durationMs, read_rows, ... function SendQueryReadChecked (line 116) | func SendQueryReadChecked(r *QueryMetrics, from, until, durationMs, read... function SendQueryReadByTable (line 122) | func SendQueryReadByTable(from, until, durationMs, read_rows int64, stat... FILE: metrics/statsd.go type NullSender (line 10) | type NullSender struct method Inc (line 12) | func (NullSender) Inc(string, int64, float32, ...statsd.Tag) error ... method Dec (line 13) | func (NullSender) Dec(string, int64, float32, ...statsd.Tag) error ... method Gauge (line 14) | func (NullSender) Gauge(string, int64, float32, ...statsd.Tag) error ... method GaugeDelta (line 15) | func (NullSender) GaugeDelta(string, int64, float32, ...statsd.Tag) er... method Timing (line 16) | func (NullSender) Timing(string, int64, float32, ...statsd.Tag) error ... method TimingDuration (line 17) | func (NullSender) TimingDuration(string, time.Duration, float32, ...st... method Set (line 18) | func (NullSender) Set(string, string, float32, ...statsd.Tag) error ... method SetInt (line 19) | func (NullSender) SetInt(string, int64, float32, ...statsd.Tag) error ... method Raw (line 20) | func (NullSender) Raw(string, string, float32, ...statsd.Tag) error ... method NewSubStatter (line 21) | func (NullSender) NewSubStatter(string) statsd.SubStatter ... method SetPrefix (line 22) | func (NullSender) SetPrefix(string) ... method SetSamplerFunc (line 23) | func (NullSender) SetSamplerFunc(statsd.SamplerFunc) ... method Close (line 24) | func (NullSender) Close() error ... FILE: pkg/alias/map.go type Value (line 12) | type Value struct type Map (line 18) | type Map struct method Merge (line 32) | func (m *Map) Merge(r finder.Result, useCache bool) { method MergeTarget (line 37) | func (m *Map) MergeTarget(r finder.Result, target string, saveCache bo... method Len (line 73) | func (m *Map) Len() int { method Size (line 81) | func (m *Map) Size() int { method Series (line 95) | func (m *Map) Series(isReverse bool) []string { method DisplayNames (line 110) | func (m *Map) DisplayNames() []string { method Get (line 123) | func (m *Map) Get(metric string) []Value { function New (line 24) | func New() *Map { FILE: pkg/alias/map_tagged_test.go function createAMTagged (line 20) | func createAMTagged() *Map { function TestCreationTagged (line 27) | func TestCreationTagged(t *testing.T) { function TestAsyncMergeTagged (line 40) | func TestAsyncMergeTagged(t *testing.T) { function Benchmark_MergeTargetTagged (line 99) | func Benchmark_MergeTargetTagged(b *testing.B) { FILE: pkg/alias/map_test.go type Values (line 12) | type Values method Len (line 14) | func (v *Values) Len() int { method Less (line 18) | func (v *Values) Less(i, j int) bool { method Swap (line 22) | func (v *Values) Swap(i, j int) { function createAM (line 36) | func createAM() *Map { function TestCreation (line 43) | func TestCreation(t *testing.T) { function TestAsyncMerge (line 55) | func TestAsyncMerge(t *testing.T) { function TestLen (line 113) | func TestLen(t *testing.T) { function TestSize (line 125) | func TestSize(t *testing.T) { function TestDisplayNames (line 137) | func TestDisplayNames(t *testing.T) { function TestGet (line 157) | func TestGet(t *testing.T) { function Benchmark_MergeTargetFinder (line 162) | func Benchmark_MergeTargetFinder(b *testing.B) { FILE: pkg/dry/math.go function Max (line 4) | func Max(x, y int64) int64 { function Min (line 13) | func Min(x, y int64) int64 { function Ceil (line 23) | func Ceil(x, d int64) int64 { function CeilToMultiplier (line 33) | func CeilToMultiplier(x, m int64) int64 { function FloorToMultiplier (line 39) | func FloorToMultiplier(x, m int64) int64 { function GCD (line 48) | func GCD(a, b int64) int64 { function LCM (line 64) | func LCM(a, b int64) int64 { FILE: pkg/dry/math_test.go function TestMax (line 9) | func TestMax(t *testing.T) { function TestMin (line 17) | func TestMin(t *testing.T) { function TestCeil (line 25) | func TestCeil(t *testing.T) { function TestCeilToMultiplier (line 34) | func TestCeilToMultiplier(t *testing.T) { function TestFloorToMultiplier (line 45) | func TestFloorToMultiplier(t *testing.T) { function TestGCD (line 56) | func TestGCD(t *testing.T) { function TestLCM (line 67) | func TestLCM(t *testing.T) { FILE: pkg/dry/strings.go function RemoveEmptyStrings (line 4) | func RemoveEmptyStrings(stringList []string) []string { FILE: pkg/dry/strings_test.go function TestRemoveEmptyStrings (line 9) | func TestRemoveEmptyStrings(t *testing.T) { FILE: pkg/dry/unsafe.go function UnsafeString (line 9) | func UnsafeString(b []byte) string { function UnsafeStringBytes (line 14) | func UnsafeStringBytes(s *string) []byte { FILE: pkg/dry/unsafe_test.go function TestUnsafeString (line 9) | func TestUnsafeString(t *testing.T) { FILE: pkg/reverse/reverse.go function String (line 8) | func String(path string) string { function reverse (line 24) | func reverse(m []byte) { function Inplace (line 35) | func Inplace(path []byte) { function Bytes (line 55) | func Bytes(path []byte) []byte { FILE: pkg/reverse/reverse_test.go function TestReverse (line 9) | func TestReverse(t *testing.T) { FILE: pkg/scope/context.go type Context (line 10) | type Context struct method With (line 20) | func (c *Context) With(key string, value interface{}) *Context { method WithRequestID (line 25) | func (c *Context) WithRequestID(requestID string) *Context { method WithLogger (line 30) | func (c *Context) WithLogger(logger *zap.Logger) *Context { method WithTable (line 35) | func (c *Context) WithTable(table string) *Context { function New (line 15) | func New(ctx context.Context) *Context { FILE: pkg/scope/http_request.go function HttpRequest (line 24) | func HttpRequest(r *http.Request) *http.Request { function Grafana (line 61) | func Grafana(ctx context.Context) string { FILE: pkg/scope/key.go type scopeKey (line 9) | type scopeKey function With (line 12) | func With(ctx context.Context, key string, value interface{}) context.Co... function String (line 17) | func String(ctx context.Context, key string) string { function Bool (line 26) | func Bool(ctx context.Context, key string) bool { function WithRequestID (line 35) | func WithRequestID(ctx context.Context, requestID string) context.Context { function RequestID (line 40) | func RequestID(ctx context.Context) string { function WithTable (line 45) | func WithTable(ctx context.Context, table string) context.Context { function Table (line 50) | func Table(ctx context.Context) string { function WithDebug (line 55) | func WithDebug(ctx context.Context, name string) context.Context { function Debug (line 60) | func Debug(ctx context.Context, name string) bool { function ClickhouseUserAgent (line 65) | func ClickhouseUserAgent(ctx context.Context) string { FILE: pkg/scope/logger.go function Logger (line 18) | func Logger(ctx context.Context) *zap.Logger { function LoggerWithHeaders (line 43) | func LoggerWithHeaders(ctx context.Context, r *http.Request, headersToLo... function WithLogger (line 78) | func WithLogger(ctx context.Context, logger *zap.Logger) context.Context { FILE: pkg/where/match.go function ClearGlob (line 11) | func ClearGlob(query string) string { function HasUnmatchedBrackets (line 102) | func HasUnmatchedBrackets(query string) bool { function glob (line 136) | func glob(field string, query string, optionalDotAtEnd bool) string { function Glob (line 183) | func Glob(field string, query string) string { function TreeGlob (line 188) | func TreeGlob(field string, query string) string { function ConcatMatchKV (line 192) | func ConcatMatchKV(key, value string) string { function Match (line 205) | func Match(field string, key, value string) string { FILE: pkg/where/match_test.go function Test_ClearGlob (line 5) | func Test_ClearGlob(t *testing.T) { function Test_HasUnmatchedBrackets (line 28) | func Test_HasUnmatchedBrackets(t *testing.T) { function TestGlob (line 58) | func TestGlob(t *testing.T) { FILE: pkg/where/where.go function unsafeString (line 14) | func unsafeString(b []byte) string { function GlobExpandSimple (line 19) | func GlobExpandSimple(value, prefix string, result *[]string) error { function GlobToRegexp (line 61) | func GlobToRegexp(g string) string { function HasWildcard (line 74) | func HasWildcard(target string) bool { function IndexLastWildcard (line 78) | func IndexLastWildcard(target string) int { function IndexWildcard (line 82) | func IndexWildcard(target string) int { function MaxWildcardDistance (line 86) | func MaxWildcardDistance(query string) int { function NonRegexpPrefix (line 99) | func NonRegexpPrefix(expr string) string { function escape (line 117) | func escape(s string) string { function escapeRegex (line 124) | func escapeRegex(s string) string { function likeEscape (line 133) | func likeEscape(s string) string { function quote (line 142) | func quote(value interface{}) string { function quoteRegex (line 157) | func quoteRegex(key, value string) string { function Like (line 166) | func Like(field, s string) string { function Eq (line 170) | func Eq(field, value interface{}) string { function HasPrefix (line 174) | func HasPrefix(field, prefix string) string { function HasPrefixAndNotEq (line 178) | func HasPrefixAndNotEq(field, prefix string) string { function HasPrefixBytes (line 182) | func HasPrefixBytes(field, prefix []byte) string { function ArrayHas (line 186) | func ArrayHas(field, element string) string { function In (line 190) | func In(field string, list []string) string { function InTable (line 213) | func InTable(field string, table string) string { function DateBetween (line 217) | func DateBetween(field string, from int64, until int64) string { function TimestampBetween (line 224) | func TimestampBetween(field string, from int64, until int64) string { type Where (line 228) | type Where struct method And (line 236) | func (w *Where) And(exp string) { method Or (line 248) | func (w *Where) Or(exp string) { method Andf (line 260) | func (w *Where) Andf(format string, obj ...interface{}) { method String (line 264) | func (w *Where) String() string { method SQL (line 268) | func (w *Where) SQL() string { method PreWhereSQL (line 276) | func (w *Where) PreWhereSQL() string { function New (line 232) | func New() *Where { FILE: pkg/where/where_test.go function TestGlobExpandSimple (line 10) | func TestGlobExpandSimple(t *testing.T) { function TestGlobToRegexp (line 41) | func TestGlobToRegexp(t *testing.T) { function TestNonRegexpPrefix (line 59) | func TestNonRegexpPrefix(t *testing.T) { function TestMaxWildcardDistance (line 78) | func TestMaxWildcardDistance(t *testing.T) { FILE: prometheus/empty_iterator.go type emptyIterator (line 13) | type emptyIterator struct method Next (line 19) | func (it *emptyIterator) Next() chunkenc.ValueType { return chunkenc.V... method Seek (line 27) | func (it *emptyIterator) Seek(t int64) chunkenc.ValueType { return chu... method At (line 31) | func (it *emptyIterator) At() (int64, float64) { return 0, 0 } method AtHistogram (line 36) | func (it *emptyIterator) AtHistogram(histogram *histogram.Histogram) (... method AtFloatHistogram (line 45) | func (it *emptyIterator) AtFloatHistogram(histogram *histogram.FloatHi... method AtT (line 51) | func (it *emptyIterator) AtT() int64 { return 0 } method Err (line 55) | func (it *emptyIterator) Err() error { return nil } FILE: prometheus/exemplar.go type nopExemplarQueryable (line 14) | type nopExemplarQueryable struct method ExemplarQuerier (line 23) | func (e *nopExemplarQueryable) ExemplarQuerier(ctx context.Context) (s... type nopExemplarQuerier (line 17) | type nopExemplarQuerier struct method Select (line 27) | func (e *nopExemplarQuerier) Select(start, end int64, matchers ...[]*l... FILE: prometheus/gatherer.go type nopGatherer (line 11) | type nopGatherer struct method Gather (line 15) | func (*nopGatherer) Gather() ([]*dto.MetricFamily, error) { FILE: prometheus/labels.go function urlParse (line 14) | func urlParse(rawurl string) (*url.URL, error) { function Labels (line 28) | func Labels(path string) labels.Labels { FILE: prometheus/labels_test.go function TestLabels (line 9) | func TestLabels(t *testing.T) { FILE: prometheus/local_storage.go method CleanTombstones (line 17) | func (s *storageImpl) CleanTombstones() error { method Delete (line 21) | func (s *storageImpl) Delete(ctx context.Context, mint, maxt int64, ms .... method Snapshot (line 25) | func (s *storageImpl) Snapshot(dir string, withHead bool) error { method Stats (line 29) | func (s *storageImpl) Stats(statsByLabelName string, limit int) (*tsdb.S... method WALReplayStatus (line 35) | func (s *storageImpl) WALReplayStatus() (tsdb.WALReplayStatus, error) { FILE: prometheus/logger.go type errorLevel (line 10) | type errorLevel interface type logger (line 14) | type logger struct method Log (line 18) | func (l *logger) Log(keyvals ...interface{}) error { FILE: prometheus/matcher.go function makeTaggedFromPromPB (line 29) | func makeTaggedFromPromPB(matchers []*prompb.LabelMatcher) ([]finder.Tag... function makeTaggedFromPromQL (line 54) | func makeTaggedFromPromQL(matchers []*labels.Matcher) ([]finder.TaggedTe... FILE: prometheus/metrics_set.go type metricsSet (line 14) | type metricsSet struct method At (line 25) | func (ms *metricsSet) At() storage.Series { method Err (line 39) | func (ms *metricsSet) Err() error { return nil } method Next (line 41) | func (ms *metricsSet) Next() bool { method Warnings (line 56) | func (s *metricsSet) Warnings() annotations.Annotations { return nil } type metric (line 19) | type metric struct method Iterator (line 30) | func (s *metric) Iterator(iterator chunkenc.Iterator) chunkenc.Iterator { method Labels (line 34) | func (s *metric) Labels() labels.Labels { function newMetricsSet (line 51) | func newMetricsSet(metrics []string) storage.SeriesSet { FILE: prometheus/querier.go type Querier (line 23) | type Querier struct method Close (line 30) | func (q *Querier) Close() error { method LabelValues (line 35) | func (q *Querier) LabelValues(ctx context.Context, label string, hints... method LabelNames (line 74) | func (q *Querier) LabelNames(ctx context.Context, hints *storage.Label... FILE: prometheus/querier_select.go method lookup (line 22) | func (q *Querier) lookup(ctx context.Context, from, until int64, qlimite... method timeRange (line 63) | func (q *Querier) timeRange(hints *storage.SelectHints) (int64, int64) { method Select (line 95) | func (q *Querier) Select(ctx context.Context, sortSeries bool, hints *st... FILE: prometheus/querier_select_test.go function TestQuerier_timeRange (line 15) | func TestQuerier_timeRange(t *testing.T) { FILE: prometheus/run.go function Run (line 28) | func Run(config *config.Config) error { FILE: prometheus/run_dummy.go function Run (line 10) | func Run(config *config.Config) error { FILE: prometheus/series_set.go type seriesIterator (line 22) | type seriesIterator struct method Seek (line 81) | func (sit *seriesIterator) Seek(t int64) chunkenc.ValueType { method At (line 99) | func (sit *seriesIterator) At() (t int64, v float64) { method AtHistogram (line 117) | func (sit *seriesIterator) AtHistogram(histogram *histogram.Histogram)... method AtFloatHistogram (line 127) | func (sit *seriesIterator) AtFloatHistogram(histogram *histogram.Float... method AtT (line 134) | func (sit *seriesIterator) AtT() int64 { method Next (line 140) | func (sit *seriesIterator) Next() chunkenc.ValueType { method Err (line 155) | func (sit *seriesIterator) Err() error { return nil } type series (line 30) | type series struct method Iterator (line 188) | func (s *series) Iterator(iterator chunkenc.Iterator) chunkenc.Iterator { method name (line 192) | func (s *series) name() string { method Labels (line 196) | func (s *series) Labels() labels.Labels { type seriesSet (line 37) | type seriesSet struct method Err (line 158) | func (ss *seriesSet) Err() error { return nil } method At (line 160) | func (ss *seriesSet) At() storage.Series { method Next (line 171) | func (ss *seriesSet) Next() bool { method Warnings (line 183) | func (s *seriesSet) Warnings() annotations.Annotations { function makeSeriesSet (line 44) | func makeSeriesSet(data *data.Data, step int64) (storage.SeriesSet, erro... function emptySeriesSet (line 71) | func emptySeriesSet() storage.SeriesSet { FILE: prometheus/storage.go type storageImpl (line 13) | type storageImpl struct method Querier (line 24) | func (s *storageImpl) Querier(mint, maxt int64) (storage.Querier, erro... method ChunkQuerier (line 33) | func (s *storageImpl) ChunkQuerier(mint, maxt int64) (storage.ChunkQue... method Appender (line 38) | func (s *storageImpl) Appender(ctx context.Context) storage.Appender { method StartTime (line 43) | func (s *storageImpl) StartTime() (int64, error) { method Close (line 48) | func (s *storageImpl) Close() error { function newStorage (line 19) | func newStorage(config *config.Config) *storageImpl { FILE: render/data/carbonlink.go type carbonlinkFetcher (line 15) | type carbonlinkFetcher interface type carbonlinkClient (line 20) | type carbonlinkClient struct function setCarbonlinkClient (line 28) | func setCarbonlinkClient(config *config.Carbonlink) { function queryCarbonlink (line 52) | func queryCarbonlink(parentCtx context.Context, carbonlink *carbonlinkCl... FILE: render/data/carbonlink_test.go type carbonlinkMocked (line 16) | type carbonlinkMocked struct method CacheQueryMulti (line 20) | func (c *carbonlinkMocked) CacheQueryMulti(ctx context.Context, metric... function TestSetCarbonlingClient (line 25) | func TestSetCarbonlingClient(t *testing.T) { function TestQueryCarbonlink (line 36) | func TestQueryCarbonlink(t *testing.T) { FILE: render/data/ch_response.go type CHResponse (line 14) | type CHResponse struct method ToMultiFetchResponseV2 (line 30) | func (c *CHResponse) ToMultiFetchResponseV2() (*v2pb.MultiFetchRespons... method ToMultiFetchResponseV3 (line 129) | func (c *CHResponse) ToMultiFetchResponseV3() (*v3pb.MultiFetchRespons... type CHResponses (line 24) | type CHResponses method ToMultiFetchResponseV2 (line 113) | func (cc *CHResponses) ToMultiFetchResponseV2() (*v2pb.MultiFetchRespo... method ToMultiFetchResponseV3 (line 215) | func (cc *CHResponses) ToMultiFetchResponseV3() (*v3pb.MultiFetchRespo... function EmptyResponse (line 27) | func EmptyResponse() CHResponses { return CHResponses{{Data: emptyData}} } FILE: render/data/common_step.go type commonStep (line 15) | type commonStep struct method addTargets (line 21) | func (c *commonStep) addTargets(delta int) { method doneTarget (line 25) | func (c *commonStep) doneTarget() { method calculateUnsafe (line 29) | func (c *commonStep) calculateUnsafe(a, b int64) int64 { method calculate (line 37) | func (c *commonStep) calculate(value int64) { method getResult (line 44) | func (c *commonStep) getResult() int64 { FILE: render/data/common_step_test.go type wrapper (line 10) | type wrapper struct method calc (line 16) | func (w *wrapper) calc(step int64) { function newWrapper (line 23) | func newWrapper() *wrapper { function TestCommonStepWorker (line 36) | func TestCommonStepWorker(t *testing.T) { FILE: render/data/data.go type Data (line 26) | type Data struct method GetStep (line 44) | func (d *Data) GetStep(id uint32) (uint32, error) { method GetAggregation (line 53) | func (d *Data) GetAggregation(id uint32) (string, error) { function contextIsValid (line 34) | func contextIsValid(ctx context.Context) error { type data (line 71) | type data struct method setSteps (line 136) | func (d *data) setSteps(cond *conditions) { method parseResponse (line 239) | func (d *data) parseResponse(ctx context.Context, bodyReader io.ReadCl... method wait (line 353) | func (d *data) wait(ctx context.Context) error { function prepareData (line 82) | func prepareData(ctx context.Context, targets int, fetcher func() *point... function splitErrorHandler (line 146) | func splitErrorHandler(data *[]byte, atEOF bool, tokenLen int, err error... function dataSplitAggregated (line 161) | func dataSplitAggregated(data []byte, atEOF bool) (advance int, token []... function dataSplitUnaggregated (line 196) | func dataSplitUnaggregated(data []byte, atEOF bool) (advance int, token ... FILE: render/data/data_parse_test.go type pointValues (line 18) | type pointValues struct type testPoint (line 24) | type testPoint struct function makeAggregatedBody (line 29) | func makeAggregatedBody(points []testPoint) []byte { function makeUnaggregatedBody (line 42) | func makeUnaggregatedBody(points []testPoint) []byte { function testCarbonlinkReaderNil (line 56) | func testCarbonlinkReaderNil() *point.Points { function TestUnaggregatedDataParse (line 60) | func TestUnaggregatedDataParse(t *testing.T) { function TestAggregatedDataParse (line 208) | func TestAggregatedDataParse(t *testing.T) { function TestPrepareDataParse (line 337) | func TestPrepareDataParse(t *testing.T) { function TestAsyncDataParse (line 384) | func TestAsyncDataParse(t *testing.T) { FILE: render/data/multi_target.go type TimeFrame (line 21) | type TimeFrame struct type MultiTarget (line 28) | type MultiTarget method checkMetricsLimitExceeded (line 56) | func (m *MultiTarget) checkMetricsLimitExceeded(num int) error { method Fetch (line 153) | func (m *MultiTarget) Fetch(ctx context.Context, cfg *config.Config, c... function MFRToMultiTarget (line 30) | func MFRToMultiTarget(v3Request *v3pb.MultiFetchRequest) MultiTarget { function getDataTimeout (line 71) | func getDataTimeout(cfg *config.Config, m *MultiTarget) time.Duration { function GetQueryLimiter (line 92) | func GetQueryLimiter(username string, cfg *config.Config, m *MultiTarget... function GetQueryLimiterFrom (line 117) | func GetQueryLimiterFrom(username string, cfg *config.Config, from, unti... function GetQueryParam (line 133) | func GetQueryParam(username string, cfg *config.Config, m *MultiTarget) ... FILE: render/data/multi_target_test.go function Test_getDataTimeout (line 10) | func Test_getDataTimeout(t *testing.T) { FILE: render/data/query.go constant queryAggregated (line 34) | queryAggregated = `WITH anyResample(%[1]d, %[2]d, %[3]d)(toUInt32(intDiv... constant queryUnaggregated (line 45) | queryUnaggregated = `SELECT Path, groupArray(Time), groupArray(Value), g... constant extTableName (line 53) | extTableName = "metrics_list" type query (line 55) | type query struct method appendReply (line 127) | func (q *query) appendReply(chr CHResponse) { method getParam (line 133) | func (q *query) getParam(from, until int64) (string, time.Duration) { method getDataPoints (line 141) | func (q *query) getDataPoints(ctx context.Context, cond *conditions) e... method metricsListExtData (line 284) | func (q *query) metricsListExtData(body *strings.Builder) *clickhouse.... type conditions (line 69) | type conditions struct method prepareMetricsLists (line 301) | func (c *conditions) prepareMetricsLists() { method prepareLookup (line 318) | func (c *conditions) prepareLookup() error { method setStep (line 382) | func (c *conditions) setStep(cStep *commonStep) { method setFromUntil (line 417) | func (c *conditions) setFromUntil() { method setPrewhere (line 422) | func (c *conditions) setPrewhere() { method setWhere (line 428) | func (c *conditions) setWhere() { method generateQuery (line 435) | func (c *conditions) generateQuery(agg string) string { method generateQueryaAggregated (line 443) | func (c *conditions) generateQueryaAggregated(agg string) string { method generateQueryUnaggregated (line 451) | func (c *conditions) generateQueryUnaggregated() string { function newQuery (line 99) | func newQuery(cfg *config.Config, targets int) *query { FILE: render/data/query_test.go function genPattern (line 20) | func genPattern(regexp, function string, retention []rollup.Retention) r... function newAM (line 31) | func newAM() *alias.Map { function newRules (line 38) | func newRules(reversed bool) *rollup.Rules { function ageToTimestamp (line 71) | func ageToTimestamp(age int64) int64 { function newCondition (line 76) | func newCondition(fromAge, untilAge, maxDataPoints int64) *conditions { function extTableString (line 85) | func extTableString(et map[string]*strings.Builder) map[string]string { function TestPrepareMetricsLists (line 94) | func TestPrepareMetricsLists(t *testing.T) { function TestPrepareLookup (line 163) | func TestPrepareLookup(t *testing.T) { function TestSetStep (line 394) | func TestSetStep(t *testing.T) { function TestSetFromUntil (line 470) | func TestSetFromUntil(t *testing.T) { function TestGenerateQuery (line 507) | func TestGenerateQuery(t *testing.T) { FILE: render/data/targets.go constant graphiteConsolidationFunction (line 14) | graphiteConsolidationFunction = "consolidateBy" type FilteringFunctionsByTarget (line 16) | type FilteringFunctionsByTarget type Cache (line 17) | type Cache struct type Targets (line 27) | type Targets struct method Append (line 66) | func (tt *Targets) Append(target string) { method SetFilteringFunctions (line 71) | func (tt *Targets) SetFilteringFunctions(target string, filteringFunct... method selectDataTable (line 75) | func (tt *Targets) selectDataTable(cfg *config.Config, tf *TimeFrame, ... method GetRequestedAggregation (line 134) | func (tt *Targets) GetRequestedAggregation(target string) (string, err... function NewTargets (line 42) | func NewTargets(list []string, am *alias.Map) *Targets { function NewTargetsOne (line 53) | func NewTargetsOne(target string, capacity int, am *alias.Map) *Targets { FILE: render/data/targets_test.go function TestSelectDataTableTime (line 12) | func TestSelectDataTableTime(t *testing.T) { function TestSelectDataTableMatch (line 104) | func TestSelectDataTableMatch(t *testing.T) { FILE: render/handler.go type Handler (line 28) | type Handler struct method finderCached (line 59) | func (h *Handler) finderCached(ts time.Time, fetchRequests data.MultiT... method finder (line 145) | func (h *Handler) finder(fetchRequests data.MultiTarget, ctx context.C... method ServeHTTP (line 251) | func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { function NewHandler (line 33) | func NewHandler(config *config.Config) *Handler { function targetKey (line 41) | func targetKey(from, until int64, target, ttl string) string { function getCacheTimeout (line 45) | func getCacheTimeout(now time.Time, from, until int64, cacheConfig *conf... FILE: render/handler_test.go function Test_getCacheTimeout (line 11) | func Test_getCacheTimeout(t *testing.T) { FILE: render/reply/formatter.go type Formatter (line 17) | type Formatter interface function GetFormatter (line 25) | func GetFormatter(r *http.Request) (Formatter, error) { function parseRequestForms (line 53) | func parseRequestForms(r *http.Request) (data.MultiTarget, error) { FILE: render/reply/formatter_test.go function TestFormatterReply (line 53) | func TestFormatterReply(t *testing.T) { function prepareCHResponses (line 172) | func prepareCHResponses(from, until int64, indices [][]byte, points map[... function emptyValues (line 210) | func emptyValues(size int) []float64 { function equalMetrics (line 221) | func equalMetrics(m1, m2 []client.Metric) bool { FILE: render/reply/json.go type JSON (line 20) | type JSON struct method ParseRequest (line 110) | func (*JSON) ParseRequest(r *http.Request) (data.MultiTarget, error) { method Reply (line 124) | func (*JSON) Reply(w http.ResponseWriter, r *http.Request, multiData d... function marshalJSON (line 22) | func marshalJSON(mfr *v3pb.MultiFetchResponse) []byte { function parseJSONBody (line 81) | func parseJSONBody(r *http.Request) (data.MultiTarget, error) { FILE: render/reply/pickle.go type Pickle (line 20) | type Pickle struct method ParseRequest (line 23) | func (*Pickle) ParseRequest(r *http.Request) (data.MultiTarget, error) { method Reply (line 28) | func (*Pickle) Reply(w http.ResponseWriter, r *http.Request, multiData... FILE: render/reply/protobuf.go constant repeated (line 21) | repeated = 2 constant flt32 (line 22) | flt32 = 5 constant protobufMaxVarintBytes (line 23) | protobufMaxVarintBytes = 10 type pb (line 26) | type pb interface function replyProtobuf (line 31) | func replyProtobuf(p pb, w http.ResponseWriter, r *http.Request, multiDa... function init (line 101) | func init() { function VarintEncode (line 112) | func VarintEncode(x uint64) []byte { function VarintWrite (line 128) | func VarintWrite(w io.Writer, x uint64) { function VarintLen (line 139) | func VarintLen(x uint64) uint64 { function WriteByteN (line 156) | func WriteByteN(w *bufio.Writer, value byte, n int) { function Fixed64Encode (line 163) | func Fixed64Encode(x uint64) []byte { function Fixed32Encode (line 176) | func Fixed32Encode(x uint32) []byte { function ProtobufWriteSingle (line 185) | func ProtobufWriteSingle(w io.Writer, value float32) { function ProtobufWriteDouble (line 189) | func ProtobufWriteDouble(w io.Writer, value float64) { function ProtobufWriteDoubleN (line 193) | func ProtobufWriteDoubleN(w io.Writer, value float64, n int) { FILE: render/reply/protobuf_test.go function TestVarintLen (line 8) | func TestVarintLen(t *testing.T) { FILE: render/reply/v2_pb.go type V2PB (line 17) | type V2PB struct method ParseRequest (line 23) | func (*V2PB) ParseRequest(r *http.Request) (data.MultiTarget, error) { method Reply (line 28) | func (v *V2PB) Reply(w http.ResponseWriter, r *http.Request, multiData... method initBuffer (line 36) | func (v *V2PB) initBuffer() { method replyDebug (line 41) | func (v *V2PB) replyDebug(w http.ResponseWriter, r *http.Request, mult... method writeBody (line 55) | func (v *V2PB) writeBody(writer *bufio.Writer, target, name, function ... FILE: render/reply/v2_pb_test.go type testV2PB (line 14) | type testV2PB struct function TestV2PBWriteBody (line 25) | func TestV2PBWriteBody(t *testing.T) { FILE: render/reply/v3_pb.go type V3PB (line 20) | type V3PB struct method ParseRequest (line 25) | func (*V3PB) ParseRequest(r *http.Request) (data.MultiTarget, error) { method Reply (line 65) | func (v *V3PB) Reply(w http.ResponseWriter, r *http.Request, multiData... method initBuffer (line 73) | func (v *V3PB) initBuffer() { method replyDebug (line 77) | func (v *V3PB) replyDebug(w http.ResponseWriter, r *http.Request, mult... method writeBody (line 91) | func (v *V3PB) writeBody(writer *bufio.Writer, target, name, function ... FILE: render/reply/v3_pb_test.go type testV3PB (line 15) | type testV3PB struct function TestV3PBWriteBody (line 26) | func TestV3PBWriteBody(t *testing.T) { FILE: sd/nginx/nginx.go type ErrInvalidKey (line 17) | type ErrInvalidKey struct method Error (line 22) | func (e ErrInvalidKey) Error() string { function splitNode (line 32) | func splitNode(node string) (dc, host, listen string, ok bool) { type Nginx (line 52) | type Nginx struct method setWeight (line 93) | func (sd *Nginx) setWeight(weight int64) { method Namespace (line 107) | func (sd *Nginx) Namespace() string { method List (line 111) | func (sd *Nginx) List() (nodes []string, err error) { method ListMap (line 155) | func (sd *Nginx) ListMap() (nodes map[string]string, err error) { method Nodes (line 212) | func (sd *Nginx) Nodes() (nodes []utils.KV, err error) { method update (line 276) | func (sd *Nginx) update(ip, port string, dc []string) (err error) { method Update (line 344) | func (sd *Nginx) Update(ip, port string, dc []string, weight int64) er... method DeleteNode (line 350) | func (sd *Nginx) DeleteNode(node string) (err error) { method Delete (line 361) | func (sd *Nginx) Delete(ip, port string, dc []string) (err error) { method Clear (line 406) | func (sd *Nginx) Clear(preserveIP, preservePort string) (err error) { function New (line 65) | func New(url, namespace, hostname string, logger *zap.Logger) *Nginx { FILE: sd/nginx/nginx_test.go function TestNginx (line 30) | func TestNginx(t *testing.T) { function TestNginxDC (line 166) | func TestNginxDC(t *testing.T) { FILE: sd/nginx/tests/nginx_cleanup_test.go function cleanup (line 31) | func cleanup(nodes []utils.KV, start, end int64) { function TestNginxExpire (line 39) | func TestNginxExpire(t *testing.T) { function TestNginxExpireDC (line 99) | func TestNginxExpireDC(t *testing.T) { FILE: sd/register.go type SD (line 24) | type SD interface function New (line 41) | func New(cfg *config.Common, hostname string, logger *zap.Logger) (SD, e... function Register (line 51) | func Register(cfg *config.Common, logger *zap.Logger) { function Stop (line 134) | func Stop() { function Cleanup (line 138) | func Cleanup(cfg *config.Common, sd SD, checkOnly bool) error { FILE: sd/utils/utils.go type KV (line 16) | type KV struct function HttpGet (line 22) | func HttpGet(url string) ([]byte, error) { function HttpPut (line 44) | func HttpPut(url string, body []byte) error { function HttpDelete (line 73) | func HttpDelete(url string) error { function GetLocalIP (line 101) | func GetLocalIP() string { FILE: tagger/metric.go type Metric (line 10) | type Metric struct method ParentPath (line 17) | func (m *Metric) ParentPath() []byte { method IsLeaf (line 30) | func (m *Metric) IsLeaf() uint8 { method MarshalJSON (line 38) | func (m *Metric) MarshalJSON() ([]byte, error) { FILE: tagger/rule.go type Rule (line 12) | type Rule struct method Match (line 204) | func (r *Rule) Match(m *Metric) { type Rules (line 28) | type Rules struct method Match (line 129) | func (r *Rules) Match(m *Metric) { method matchPrefix (line 184) | func (r *Rules) matchPrefix(m *Metric) { method matchSuffix (line 188) | func (r *Rules) matchSuffix(m *Metric) { method matchContains (line 192) | func (r *Rules) matchContains(m *Metric) { method matchOther (line 198) | func (r *Rules) matchOther(m *Metric) { function ParseFile (line 36) | func ParseFile(filename string) (*Rules, error) { function ParseGlob (line 45) | func ParseGlob(glob string) (*Rules, error) { function Parse (line 65) | func Parse(content string) (*Rules, error) { function matchByPrefix (line 136) | func matchByPrefix(path []byte, tree *Tree, m *Metric) { function matchBySuffix (line 160) | func matchBySuffix(path []byte, tree *Tree, m *Metric) { FILE: tagger/rule_test.go function TestRules (line 33) | func TestRules(t *testing.T) { FILE: tagger/set.go type Set (line 8) | type Set struct method Add (line 19) | func (s *Set) Add(tag ...string) *Set { method Merge (line 52) | func (s *Set) Merge(other *Set) *Set { method Len (line 56) | func (s *Set) Len() int { method List (line 60) | func (s *Set) List() []string { method MarshalJSON (line 64) | func (s *Set) MarshalJSON() ([]byte, error) { FILE: tagger/tagger.go constant SelectChunksCount (line 27) | SelectChunksCount = 10 type nopCloser (line 29) | type nopCloser struct method Close (line 33) | func (nopCloser) Close() error { return nil } function countMetrics (line 35) | func countMetrics(body []byte) (int, error) { function pathLevel (line 63) | func pathLevel(path []byte) int { function Make (line 75) | func Make(cfg *config.Config) error { function cutMetricsIntoParts (line 430) | func cutMetricsIntoParts(metricList []Metric, threads int) ([][]Metric, ... function wrapWithCompressor (line 462) | func wrapWithCompressor(cfg *config.Config, writer io.Writer) (io.WriteC... function encodeMetricsToRowBinary (line 484) | func encodeMetricsToRowBinary(metricList []Metric, date time.Time, versi... function encodeEmptyMetricToRowBinary (line 551) | func encodeEmptyMetricToRowBinary(date time.Time, version uint32, wc io.... FILE: tagger/tagger_test.go function TestCutMetricsIntoParts (line 14) | func TestCutMetricsIntoParts(t *testing.T) { function TestCutMetricsIntoPartsRandom (line 294) | func TestCutMetricsIntoPartsRandom(t *testing.T) { FILE: tagger/tree.go type Tree (line 3) | type Tree struct method Add (line 8) | func (t *Tree) Add(prefix []byte, rule *Rule) { method AddSuffix (line 26) | func (t *Tree) AddSuffix(suffix []byte, rule *Rule) { FILE: tests/clickhouse/rollup/init.sql type default (line 1) | CREATE TABLE IF NOT EXISTS default.graphite_reverse ( type default (line 11) | CREATE TABLE IF NOT EXISTS default.graphite ( type default (line 21) | CREATE TABLE IF NOT EXISTS default.graphite_index ( type default (line 30) | CREATE TABLE IF NOT EXISTS default.graphite_tags ( type default (line 40) | CREATE TABLE IF NOT EXISTS default.tag1_count_per_day FILE: tests/clickhouse/rollup_tls/init.sql type default (line 1) | CREATE TABLE IF NOT EXISTS default.graphite_reverse ( type default (line 11) | CREATE TABLE IF NOT EXISTS default.graphite ( type default (line 21) | CREATE TABLE IF NOT EXISTS default.graphite_index ( type default (line 30) | CREATE TABLE IF NOT EXISTS default.graphite_tags ( type default (line 40) | CREATE TABLE IF NOT EXISTS default.tag1_count_per_day