Aliaksandr Valialkin
c107f46b0e
docs: mention about /api/v1/import
in Single-server-VictoriaMetrics.md
2019-12-09 23:02:07 +02:00
Aliaksandr Valialkin
8cce513a15
docs: mention about /api/v1/import
in Cluster-VictoriaMetrics.md
2019-12-09 23:01:14 +02:00
Aliaksandr Valialkin
b01ddfdd76
deployment/docker: update Go builder from go1.13.4 to go1.13.5
2019-12-09 22:58:26 +02:00
Aliaksandr Valialkin
68e1cf8942
app/vminsert: add /api/v1/import
handler
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6
2019-12-09 20:59:04 +02:00
Aliaksandr Valialkin
8501b4a48d
app/vminsert: consistency renaming for counters
2019-12-09 16:43:10 +02:00
Aliaksandr Valialkin
0ed9258545
lib/{mergeset,storage}: log info message when both source and destination part paths from txn are missing during startup
...
This is expected condition after unclean shutdown (OOM, hard reset, `kill -9`) on NFS disk.
2019-12-09 15:44:53 +02:00
Roman Khavronenko
b0d88460de
#251 - add Logging rate panel ( #254 )
2019-12-09 13:05:59 +02:00
Aliaksandr Valialkin
8db7660afe
docs/CaseStudies.md: mention that additional references and reviews can be obtained from our Slack channel
2019-12-08 14:04:18 +02:00
Aliaksandr Valialkin
18369bca42
docs/ExtendedPromQL.md: add a link to https://medium.com/@valyala/improving-histogram-usability-for-prometheus-and-grafana-bc7e5df0e350 for histogram func
2019-12-08 13:48:33 +02:00
Aliaksandr Valialkin
95328782c3
docs/CaseStudies.md: re-wording
2019-12-08 13:43:49 +02:00
Aliaksandr Valialkin
981cb66a95
docs/CaseStudies.md: improve wording
2019-12-08 13:39:29 +02:00
Aliaksandr Valialkin
f15d89bfe0
vendor: fix broken build for GOARCH=arm64 on golang.org/x/sys/unix
2019-12-08 13:27:38 +02:00
Aliaksandr Valialkin
36feb7d3e4
docs: add draft version of case studies
2019-12-08 13:23:15 +02:00
Aliaksandr Valialkin
d900184d8d
vendor: fix arm build for golang.org/x/sys/unix/zptrace_armnn_linux.go
2019-12-08 12:49:05 +02:00
Aliaksandr Valialkin
293b541784
make vendor-update
2019-12-07 23:10:16 +02:00
Aliaksandr Valialkin
84b57e8974
app/vminsert/influx: add a test case from https://community.librenms.org/t/integration-with-victoriametrics/9689
2019-12-07 23:00:40 +02:00
Aliaksandr Valialkin
b458e5a213
README.md: mention that VictoriaMetrics is built on shared nothing
architecture
2019-12-05 20:39:44 +02:00
Aliaksandr Valialkin
c09472dfd9
app/vmselect/promql: add {topk|bottomk}_{min|max|avg|median}
aggregate functions for returning the exact k time series on the given time range
...
The full list of functions added:
- `topk_min(k, q)` - returns top K time series with the max minimums on the given time range
- `topk_max(k, q)` - returns top K time series with the max maximums on the given time range
- `topk_avg(k, q)` - returns top K time series with the max averages on the given time range
- `topk_median(k, q)` - returns top K time series with the max medians on the given time range
- `bottomk_min(k, q)` - returns bottom K time series with the min minimums on the given time range
- `bottomk_max(k, q)` - returns bottom K time series with the min maximums on the given time range
- `bottomk_avg(k, q)` - returns bottom K time series with the min averages on the given time range
- `bottomk_median(k, q)` - returns bottom K time series with the min medians on the given time range
2019-12-05 19:26:47 +02:00
Aliaksandr Valialkin
72345eb5bd
lib/{mergeset,storage}: make sure pending transaction deletions are finished before and after runTransactions
call.
...
`runTransactions` call issues async deletions for transaction files. The previously issued transaction deletions
can race with the next call to `runTransactions`. Prevent this by waiting until all the pending transaction
deletions are funished in the beginning of `runTransactions`. Also make sure that all the pending transaction
deletions are finished before returning from `runTransactions`.
2019-12-04 21:40:30 +02:00
Aliaksandr Valialkin
1244ad810d
lib/httpserver: add /ping
handler for compatibility with Influx agents
...
Certain Influx agents check for `/ping` endpoint before starting
to send Influx line protocol data. See https://docs.influxdata.com/influxdb/v1.7/tools/api/#ping-http-endpoint
2019-12-04 19:15:52 +02:00
Aliaksandr Valialkin
359c4d6109
docs: add a link to https://medium.com/@valyala/prometheus-storage-technical-terms-for-humans-4ab4de6c3d48
2019-12-03 22:37:16 +02:00
Aliaksandr Valialkin
face3d57bf
app/vmselect: add placeholders for /api/v1/rules
and /api/v1/alerts
2019-12-03 19:36:33 +02:00
Aliaksandr Valialkin
a247236f61
lib/storage: fall back to global inverted index if a filter match too many time series in per-day index
...
Previously this resulted to error message. The query may succeed via search in global index.
2019-12-03 14:48:31 +02:00
Aliaksandr Valialkin
54741ee578
lib/storage: fix printing tag filters in TagFilters.String
2019-12-03 14:25:13 +02:00
Aliaksandr Valialkin
efbc83a13e
lib/storage: print __name__
instead of empty string in user-visible tag filters
2019-12-03 14:18:28 +02:00
Aliaksandr Valialkin
ade453847f
docs: typo fixes
2019-12-03 00:44:50 +02:00
Aliaksandr Valialkin
f52874dab4
lib/storage: optimize regexp filter search
2019-12-03 00:43:12 +02:00
Artem Navoiev
652ba59ce9
[docs] update release page doc
2019-12-02 23:01:51 +02:00
Artem Navoiev
3e81ab2f75
[docs] change titles
2019-12-02 22:53:11 +02:00
Artem Navoiev
a778233877
[docs] change titles
2019-12-02 22:50:54 +02:00
Aliaksandr Valialkin
14100ed643
vendor: update github.com/VictoriaMetrics/metrics from v1.9.1 to v1.9.2
...
This fixes possible deadlock when metrics.WritePrometheus calls Gauge callback, which calls metrics functions with internal lock.
2019-12-02 22:33:33 +02:00
Artem Navoiev
cfc6e7df07
[docs] revert titles
2019-12-02 22:06:39 +02:00
Artem Navoiev
c07a83374c
[docs] remove double titles
2019-12-02 22:02:59 +02:00
Artem Navoiev
c76b2be21f
[ci] add github pages action
2019-12-02 21:53:33 +02:00
Aliaksandr Valialkin
638a5cbb16
lib/{mergeset,storage}: remove transaction files only after the mentioned dirs are really removed
...
This should fix the issue on NFS when incompletely removed dirs may be left
after unclean shutdown (OOM, kill -9, hard reset, etc.), while the corresponding transaction
files are already removed.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/162
2019-12-02 21:36:31 +02:00
Aliaksandr Valialkin
20812008a7
lib/storage: remove metricID with missing metricID->metricName entry
...
The metricID->metricName entry can be missing in the indexdb after unclean shutdown
when only a part of entries for new time series is written into indexdb.
Recover from such a situation by removing the broken metricID. New metricID
will be automatically created for time series with the given metricName
when new data point will arive to it.
2019-12-02 20:46:44 +02:00
Aliaksandr Valialkin
62a915f2b2
lib/storage: protect from time drift during indexdb rotation
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/248
2019-12-02 14:44:42 +02:00
Aliaksandr Valialkin
42da569bcd
lib/logger: merge file
and line
labels into location="file:line"
...
This should improve the usability for `vm_log_messages_total` metric during practical queries
2019-12-02 14:44:40 +02:00
Aliaksandr Valialkin
70b8191fab
lib/storage: generate more human-friendly result in TagFilters.String
2019-12-02 13:52:22 +02:00
Aliaksandr Valialkin
9476b73527
app/vmselect/promql: estimate per-series scrape interval as 0.6 quantile for the first 100 intervals
...
This should improve scrape interval estimation for tiem series with gaps.
2019-12-02 13:42:33 +02:00
Aliaksandr Valialkin
542b9c2043
lib/logger: consistency renaming from vm_log_messages_count
to vm_log_messages_total
, since this is a counter
2019-12-02 00:49:00 +02:00
Aliaksandr Valialkin
c567919f80
lib/logger: track the number of log messages by (level, file, line)
in the vm_log_messages_count
metric
2019-12-01 18:37:49 +02:00
Aliaksandr Valialkin
761645b20a
lib/netutil: use IPv6 for both listening and dialing if -enabledTCP6
is set
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/244
2019-12-01 02:57:13 +02:00
Aliaksandr Valialkin
811b7a8303
app/vminsert/influx: allow empty measurement in Influx line protocol
...
In this case metric names are mapped directly from field names without any prefixes.
2019-11-30 23:18:41 +02:00
Artem Navoiev
4972bd4c96
Update release guide add Wiki section. Change styling
2019-11-30 21:10:42 +02:00
Artem Navoiev
335e0f8f6a
Update release guide add Wiki section
2019-11-30 21:08:48 +02:00
Artem Navoiev
505e46980a
[ci] push docs/*.md file to wiki
2019-11-30 20:58:28 +02:00
Artem Navoiev
ab88b77515
rename doc to docs
2019-11-30 20:48:40 +02:00
Artem Navoiev
3d8e75e065
[ci] test wiki push
2019-11-30 20:38:37 +02:00
Artem Navoiev
74b4ccfc91
[ci] push to wiki
2019-11-30 20:36:10 +02:00