Brian Candler
Brian Candler
``jsonnet``
I'd still say Hashicorp's go-plugin is a better approach all round. I also recently came across this wasm-based version (but have not tested it): https://github.com/knqyf263/go-plugin But Hashicorp's is long-standing and...
Hashicorp's go-plugin? Yes, it spins up a separate process and talks to it over gRPC or net/rpc. Plugins can be verified with an expected checksum and RPC communications can be...
I've made a suggestion in point (2) [here](https://groups.google.com/forum/#!topic/lokiproject/sXKFR_yqK6s) with a simple way of dealing with high cardinality values. In short: keep the high-cardinality fields out of the label set, but...
> An alternative to high cardinality labels could be to introduce a complement to labels called _metadata_, that is allowed to be high cardinality. Having two different things could allow...
> What would actually happen when creating high cardinality labels that way? "just" a very big index or would I run into real problems? You could end up with Loki...
@kiney: I hadn't come across JMESPath before, and I agree it would make sense to use the engine which is already being used. We need something that can be used...
There's another way jq could be used: just for predicate testing. ``` jq '.baz > 200'
I think you can do what you need using the LogQL [json filter](https://grafana.com/docs/loki/latest/logql/log_queries/#json). This extracts "labels" from the JSON body, but they are not logstream labels, so they don't affect...
Link to generic issue: https://github.com/golang/go/issues/57328