Skip to content

Instantly share code, notes, and snippets.

View agao48's full-sized avatar

agao48

  • Bloomberg LP
  • New York City
View GitHub Profile

MetaTag Testing

Details

Number of Timeseries

42.7k timeseries in our test metrictank instance

Metatags

When pushing metatags for 29.4k hosts (via the bulk update endpoint). We formatted each record like the following:

{

Stats from our real stage environment

Did 3 runs for each type of test

metatags disabled

Latencies     [mean, 50, 95, 99, max]    18.637796ms, 16.960884ms, 27.449045ms, 39.278602ms, 445.852532ms
Latencies     [mean, 50, 95, 99, max]    16.800122ms, 15.25657ms, 25.031015ms, 32.895322ms, 68.804252ms
Latencies     [mean, 50, 95, 99, max]    17.2324ms, 15.393382ms, 24.967953ms, 39.141642ms, 254.519476ms

Stats from our real stage environment

Did 3 runs for each type of test

1 metatag in system

Latencies     [mean, 50, 95, 99, max]    18.637796ms, 16.960884ms, 27.449045ms, 39.278602ms, 445.852532ms
Latencies     [mean, 50, 95, 99, max]    16.800122ms, 15.25657ms, 25.031015ms, 32.895322ms, 68.804252ms
Latencies     [mean, 50, 95, 99, max]    17.2324ms, 15.393382ms, 24.967953ms, 39.141642ms, 254.519476ms

1k metatags before

no metatags metatags AC AC values?tag AC tags?expr
Latencies
mean 58.151678ms 113.268884ms 14.792013ms 23.29381ms 69.367814ms
50 18.021065ms 20.851112ms 13.293058ms 21.888759ms 63.249727ms
90 205.851732ms 440.347992ms 17.309934ms 31.410436ms 95.64596ms
99 259.926949ms 528.813338ms 55.461438ms 38.367108ms 116.674246ms
max 470.297375ms 761.200668ms 187.599806ms 57.794579ms 249.589204ms