Aliaksandr Valialkin
|
e3adc095bd
|
all: add -dedup.minScrapeInterval command-line flag for data de-duplication
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/86
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/278
|
2020-01-31 01:18:54 +02:00 |
|
Aliaksandr Valialkin
|
a45f25699c
|
lib/storage: re-use indexSearch inside Storage.prefetchMetricNames
|
2020-01-31 01:18:53 +02:00 |
|
Aliaksandr Valialkin
|
cb5c39ee70
|
lib/fs: optimize small reads for ReaderAt.MustReadAt by reading from memory-mapped space instead of reading from file descriptor
This should improve performance when reading many small blocks.
|
2020-01-30 15:16:16 +02:00 |
|
Aliaksandr Valialkin
|
da19fffa08
|
all: rename ReadAt* to MustReadAt* in order to dont clash with io.ReaderAt
|
2020-01-30 15:16:16 +02:00 |
|
Aliaksandr Valialkin
|
1332ddc15e
|
lib/storage: pass missing AccountID and ProjectID to searchMetricName
|
2020-01-30 15:16:16 +02:00 |
|
Aliaksandr Valialkin
|
4ed5e9a7ce
|
lib/storage: pre-fetch metricNames for the found metricIDs in Search.Init
This should speed up Search.NextMetricBlock loop for big number of found time series.
|
2020-01-30 15:16:16 +02:00 |
|
Alexander Danilov
|
ced989c966
|
Fix current/max graphs (#298)
|
2020-01-29 23:48:36 +00:00 |
|
Aliaksandr Valialkin
|
cb2a2f281f
|
lib/mergeset: properly update lastAccesstime in indexBlockCache entries
This is a follow-up for 6665f10e7b
|
2020-01-29 21:21:01 +02:00 |
|
Aliaksandr Valialkin
|
170c1c3a4e
|
app/vmselect/promql: add keep_next_value(q) for filling gaps with the next non-empty value
|
2020-01-29 00:48:14 +02:00 |
|
Aliaksandr Valialkin
|
b3bd64fdb2
|
docs/Single-server-VictoriaMetrics.md: fix heading size for Third-party contributions section
|
2020-01-28 23:14:06 +02:00 |
|
Aliaksandr Valialkin
|
a9c1d5b351
|
app/vminsert: moved -maxInsertRequestSize command-line flag out of lib/prompb in order to prevent its inclusion in vmselect and vmstorage apps
|
2020-01-28 22:53:50 +02:00 |
|
Aliaksandr Valialkin
|
b28c9a3944
|
app/vmselect/promql: return expected results from increase() over the beginning of time series, which start from big value
Examples for such counters: OS-level counters for network or cpu stats.
|
2020-01-28 16:31:05 +02:00 |
|
Aliaksandr Valialkin
|
11c03328ae
|
app/victoria-metrics: remove integration build tag from tests
This simplifies testing with `go test ./app/victoria-metrics` without
the need to remember to pass `-tags=integration` to Go commands.
|
2020-01-27 20:27:39 +02:00 |
|
Aliaksandr Valialkin
|
9a02ca67e9
|
docs/Single-server-VictoriaMetrics.md: sync with master
|
2020-01-27 18:47:46 +02:00 |
|
Aliaksandr Valialkin
|
dab9a63485
|
docs/Single-server-VictoriaMetrics.md: update Retention section
|
2020-01-27 18:46:32 +02:00 |
|
Aliaksandr Valialkin
|
2bb9b089d5
|
README.md: mention https://github.com/AnchorFree/tsdb-remote-write
|
2020-01-27 18:36:22 +02:00 |
|
Aliaksandr Valialkin
|
3e304890a6
|
app/vmselect/promql: fix panic on a single zero vmrange bucket in prometheus_buckets() function
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/296
|
2020-01-27 18:05:12 +02:00 |
|
Aliaksandr Valialkin
|
81ba371eaf
|
lib/logger: fix improperly set skipframes for all the logging functions
|
2020-01-26 18:34:58 +02:00 |
|
Aliaksandr Valialkin
|
9f595cb2b1
|
lib/httpserver: log the caller of httpserver.Errorf
Previously log message contained `httpserver.Errorf`, not it contains the caller of `httpserver.Errorf`, which is more useful.
|
2020-01-25 20:18:06 +02:00 |
|
Aliaksandr Valialkin
|
4d70a81e18
|
app/vminsert: do not drop pending rows if all the vmstorage backends are unavailable
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/294
|
2020-01-24 22:10:10 +02:00 |
|
Aliaksandr Valialkin
|
36a1a21d6e
|
lib/protoparser: add parser for Prometheus exposition text format
This parser will be used by vmagent
|
2020-01-24 20:11:19 +02:00 |
|
Aliaksandr Valialkin
|
0cda6afa8e
|
app/vminsert: move ingestion protocol parsers to lib/protoparser, so they could be re-used in the upcoming vmagent
|
2020-01-24 16:55:18 +02:00 |
|
Aliaksandr Valialkin
|
a9802fcb72
|
docs/Articles.md: add a link to https://medium.com/@valyala/billy-how-victoriametrics-deals-with-more-than-500-billion-rows-e82ff8f725da
|
2020-01-22 19:08:45 +02:00 |
|
Aliaksandr Valialkin
|
ea53a21b02
|
all: consistently log durations in seconds with millisecond precision
This should improve logs readability
|
2020-01-22 18:35:24 +02:00 |
|
Aliaksandr Valialkin
|
6eddce1d15
|
vendor: make vendor-update
|
2020-01-22 18:09:24 +02:00 |
|
Aliaksandr Valialkin
|
e1a264173a
|
app/vmselect: mention the original query and time range in error messages
This should simplify debugging invalid or heavy queries.
|
2020-01-22 17:34:35 +02:00 |
|
Aliaksandr Valialkin
|
18a4503261
|
vendor: update github.com/klauspost/compress from v1.9.7 to v1.9.8
New version should have better gzip compression. See https://github.com/klauspost/compress#changelog
|
2020-01-22 16:51:17 +02:00 |
|
Aliaksandr Valialkin
|
3c6ae8c947
|
docs: Mention Slack and Telegram channels for user questions
|
2020-01-22 16:51:16 +02:00 |
|
Aliaksandr Valialkin
|
e127173984
|
app/vmselect: mention command-line flag, which could be used for adjusting query timeouts, in timeout errors
|
2020-01-22 15:53:42 +02:00 |
|
Aliaksandr Valialkin
|
f3b9f8b823
|
app/vmselect/prometheus: increase default value -maxExportDuration to 30 days, since 10 minutes beat users exporting bit amounts of data
|
2020-01-22 15:53:41 +02:00 |
|
Aliaksandr Valialkin
|
be5adbfda4
|
vendor: update github.com/VictoriaMetrics/fastcache from v1.5.5 to v1.5.7
|
2020-01-22 12:30:55 +02:00 |
|
Aliaksandr Valialkin
|
40e564eb9c
|
app/vmselect/promql: add range_over_time(m[d]) function for calculating value range for m over d
|
2020-01-21 19:05:29 +02:00 |
|
Aliaksandr Valialkin
|
ecddba30fe
|
app/vminsert/netstorage: increase timeout for pushing data from vminsert to vmstorage by 3x
Our clients report that the previous timeout could lead to frequent errors when
vmstorage starts background merge for big parts on slow HDD.
|
2020-01-21 18:21:49 +02:00 |
|
Aliaksandr Valialkin
|
9eaa2ab871
|
app/vmselect/promql: add label_match(q, label, regexp) and label_mismatch(q, label, regexp) functions for filtering out time series with labels matching the given regexp
|
2020-01-21 15:00:35 +02:00 |
|
Aliaksandr Valialkin
|
62b041e90a
|
lib/{mergeset,storage}: properly update lastAccessTime in index and data block cache entries
|
2020-01-20 15:00:10 +02:00 |
|
Aliaksandr Valialkin
|
b297fec515
|
README.md: mention that delete API shouldnt be used on a regular basis due to non-zero overhead
|
2020-01-20 13:28:58 +02:00 |
|
Aliaksandr Valialkin
|
d3b4b0f492
|
docs/FAQ.md: typo fix according to comment from https://www.reddit.com/message/messages/lezkmo
|
2020-01-18 18:05:22 +02:00 |
|
Aliaksandr Valialkin
|
179c7db4c9
|
docs/CaseStudies.md: add links to COLOPL talk about VictoriaMetrics
|
2020-01-18 17:24:00 +02:00 |
|
Aliaksandr Valialkin
|
cbd0452317
|
app/vminsert: increase default value for -insert.maxQueueDuration from 30s to 60s
This should help catching up with high ingestion rate after VictoriaMetrics restart.
|
2020-01-18 14:39:30 +02:00 |
|
Aliaksandr Valialkin
|
607d4418b8
|
lib/uint64set: add missing bucket32.b16his values
|
2020-01-18 14:26:23 +02:00 |
|
Aliaksandr Valialkin
|
e3379537cd
|
lib/uint64set: optimize Set.Union
This should improve performance for queries over big number of time series
|
2020-01-18 13:47:34 +02:00 |
|
Aliaksandr Valialkin
|
5077efd3f7
|
lib/uint64set: add benchmarks for Set.Union
|
2020-01-18 13:47:33 +02:00 |
|
Aliaksandr Valialkin
|
a851c75703
|
lib/storage: skip recovering timestamps order for lossless compression (PrecisionBits=64)
|
2020-01-17 23:59:19 +02:00 |
|
Aliaksandr Valialkin
|
2084921e64
|
all: use github.com/klauspost/compress/gzip instead of compress/gzip
`github.com/klauspost/compress/gzip` is more optimized than `compress/gzip`.
This gives better gzip compression and decompression speeds.
|
2020-01-17 23:59:17 +02:00 |
|
Aliaksandr Valialkin
|
ab4d5d72eb
|
lib/uint64set: reduce memory allocations in Set.AppendTo
|
2020-01-17 22:33:00 +02:00 |
|
Aliaksandr Valialkin
|
476c7fb109
|
lib/storage: reduce memory allocations when merging metricID sets
|
2020-01-17 22:10:56 +02:00 |
|
Aliaksandr Valialkin
|
29d21259f0
|
lib/uint64set: typo fix in Set.Intersect
|
2020-01-17 18:11:46 +02:00 |
|
Aliaksandr Valialkin
|
54db08a60f
|
app/vmselect/netstorage: make fmt
|
2020-01-17 17:46:20 +02:00 |
|
Aliaksandr Valialkin
|
d21cc2d16a
|
app/vmselect/netstorage: limit the maximum size for in-memory buffer for temporary blocks file
This should reduce memory usage on systems with more than 8GB RAM.
|
2020-01-17 16:28:28 +02:00 |
|
Aliaksandr Valialkin
|
ed1d259b10
|
lib/uint64set: optimize Intersect, Subtract and Union functions
This should improve performance for queries over big number of time series.
|
2020-01-17 16:16:43 +02:00 |
|