Update structured-metadata docs (#10698)

OSS users tried to use the structured metadata feature and faced an
issue because they used previous schema versions (V11, V12) and they
were not aware that it was necessary to use V13 because the docs did not
cover it.

re: https://github.com/grafana/loki/issues/10683
pull/10694/head^2
Vladyslav Diachenko 2 years ago committed by GitHub
parent 1415a97296
commit bd63f371ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/sources/get-started/labels/structured-metadata.md

@ -9,6 +9,10 @@ description: Attaching metadata to logs.
Structured metadata is an experimental feature and is subject to change in future releases of Grafana Loki. This feature is not yet available for Cloud Logs users.
{{% /admonition %}}
{{% admonition type="warning" %}}
Structured metadata was added to chunk format V4 which is used if the schema version is greater or equal to `13`. (See [Schema Config]({{< relref "../../storage#schema-config" >}}) for more details about schema versions. )
{{% /admonition %}}
One of the powerful features of Loki is parsing logs at query time to extract metadata and build labels out of it.
However, the parsing of logs at query time comes with a cost which can be significantly high for, as an example,
large json blobs or a poorly written query using complex regex patterns.

Loading…
Cancel
Save