Aliaksandr Valialkin
|
ce38b176bc
|
app/vmselect/promql: automatically apply offset -step to rollup_candlestick function in order to obtain the expected OHLC results
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/309
|
2020-02-04 23:24:04 +02:00 |
|
Aliaksandr Valialkin
|
4f7116d1ee
|
app/vmselect/promql: adjust rollup_candlestick calculations to the exepcted results
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/309
|
2020-02-04 22:43:28 +02:00 |
|
Aliaksandr Valialkin
|
8b360a25e9
|
lib/logger: initialize output to os.Stderr by default
|
2020-02-04 22:43:26 +02:00 |
|
Aliaksandr Valialkin
|
c931a540f4
|
Do not require checking for errors returned from fmt.Fprint
This fixes `make errcheck` error found in lib/logger
|
2020-02-04 22:03:52 +02:00 |
|
Aliaksandr Valialkin
|
1f271a9815
|
lib/logger: add -loggerOutput command-line flag
This flag allows changing log output from `stderr` to `stdout` if `-loggerOutput=stdout` is set.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/306
|
2020-02-04 21:48:24 +02:00 |
|
Aliaksandr Valialkin
|
49ab3fa076
|
lib/logger: do not clutter -loggerFormat=json output with stack trace
This should improve json parsing
|
2020-02-04 21:40:20 +02:00 |
|
Aliaksandr Valialkin
|
56d6b8ed0a
|
lib/storage: do not deduplicate blocks with less than 32 samples during merge
This should improve deduplication accuracy for blocks with higher number of samples.
|
2020-02-04 18:41:37 +02:00 |
|
Aliaksandr Valialkin
|
ccd3aa4f15
|
app/vmselect: take into account the time the requests wait in the queue if -search.maxConcurrentRequests is exceeded
This will prevent from excess CPU usage for timed out queries.
|
2020-02-04 16:20:48 +02:00 |
|
Aliaksandr Valialkin
|
e6bf88a4d4
|
app/vmselect: add a placeholder for /api/v1/metadata , which could be requested by Grafana
See https://prometheus.io/docs/prometheus/latest/querying/api/#querying-metric-metadata
VictoriaMetrics doesn't collect any metadata for metrics, so just return empty response.
|
2020-02-04 15:56:01 +02:00 |
|
Aliaksandr Valialkin
|
7cde594696
|
all: do not clash flag description with back-quoted flag types
See https://golang.org/pkg/flag/#PrintDefaults for more details.
|
2020-02-04 15:56:01 +02:00 |
|
Edouard Hur
|
2ec248453b
|
do not fill max lines (#307)
|
2020-02-03 21:21:04 +00:00 |
|
Roman Khavronenko
|
ce8eb8a207
|
improve description for Pending datapoints panel; (#301)
Use bits/s for network usage panels;
|
2020-02-03 02:07:07 +02:00 |
|
Aliaksandr Valialkin
|
45bc6c62f2
|
app/vmselect/promql: adjust and and unless binary operator handling to be consistent with Prometheus
|
2020-01-31 18:52:51 +02:00 |
|
Aliaksandr Valialkin
|
36ea1b503b
|
deployment/docker: update Go builder from v1.13.6 to v1.13.7
|
2020-01-31 18:06:10 +02:00 |
|
Aliaksandr Valialkin
|
9b25a2fb67
|
lib/fs: remove unused readerAt interface
|
2020-01-31 15:13:00 +02:00 |
|
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 |
|