marek-obuchowicz opened a new issue, #13451:
URL: https://github.com/apache/apisix/issues/13451

   ### Description
   
   As recommended in loki documentation, labels should be used for fields with 
limited cardinality - a good example would be http request method, which can 
have one of few values. Labels should not be used for indexing fields with high 
value cardinality, like IP address or request id. For this case, loki has a 
feature called "structured metadata" - it can and should be used to index 
searchable fields.
   
   At the moment, loki-logger plugin allows defining loki labels, but does not 
provide an option to specify structured metadata. This makes the plugin hardly 
usable in real-world, high-traffic scenarios where we need to index fields with 
high cardinality.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to