VictoriaMetrics/app
Aliaksandr Valialkin f548adce0b
app/vlinsert/loki: follow-up after 09df5b66fd
- Parse protobuf if Content-Type isn't set to `application/json` - this behavior is documented at https://grafana.com/docs/loki/latest/api/#push-log-entries-to-loki

- Properly handle gzip'ped JSON requests. The `gzip` header must be read from `Content-Encoding` instead of `Content-Type` header

- Properly flush all the parsed logs with the explicit call to vlstorage.MustAddRows() at the end of query handler

- Check JSON field types more strictly.

- Allow parsing Loki timestamp as floating-point number. Such a timestamp can be generated by some clients,
  which store timestamps in float64 instead of int64.

- Optimize parsing of Loki labels in Prometheus text exposition format.

- Simplify tests.

- Remove lib/slicesutil, since there are no more users for it.

- Update docs with missing info and fix various typos. For example, it should be enough to have `instance` and `job` labels
  as stream fields in most Loki setups.

- Allow empty of missing timestamps in the ingested logs.
  The current timestamp at VictoriaLogs side is then used for the ingested logs.
  This simplifies debugging and testing of the provided HTTP-based data ingestion APIs.

The remaining MAJOR issue, which needs to be addressed: victoria-logs binary size increased from 13MB to 22MB
after adding support for Loki data ingestion protocol at https://github.com/VictoriaMetrics/VictoriaMetrics/pull/4482 .
This is because of shitty protobuf dependencies. They must be replaced with another protobuf implementation
similar to the one used at lib/prompb or lib/prompbmarshal .
2023-07-20 16:48:21 -07:00
..
victoria-logs app/vlselect: handle vmui at /select/vmui path instead of /vmui 2023-06-21 19:52:50 -07:00
victoria-metrics docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
vlinsert app/vlinsert/loki: follow-up after 09df5b66fd 2023-07-20 16:48:21 -07:00
vlselect docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
vlstorage docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
vmagent app/vmagent: fix creating target id if --promscrape.dropOriginalLabels flag was used (#4616) 2023-07-20 10:13:39 +02:00
vmalert docs: fix the next release version for vmalert 2023-07-20 18:48:21 +02:00
vmauth docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
vmbackup docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
vmbackupmanager docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
vmctl docs: mention the simplest way to migrate data in vmctl docs 2023-07-20 14:39:30 +02:00
vmgateway docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
vminsert vmalert: init unit test (#4596) 2023-07-20 15:07:10 +02:00
vmrestore docs: follow-up after aec4b5db81 (#4638) 2023-07-19 10:10:51 +02:00
vmselect app/vmselect: rename promql.WriteActiveQueries() to promql.ActiveQueriesHandler() 2023-07-20 11:32:33 -07:00
vmstorage lib/storage: switch from global to per-day index for MetricName -> TSID mapping 2023-07-13 16:07:30 -07:00
vmui feat: optimize vmui-log bundle size (#4602) 2023-07-19 16:49:38 -07:00