beyla
beyla copied to clipboard
Pull Variable from route
Hi, I have a http_route ie /cowname?name=suzan&breed=cowweee is it possible to extract the values after the "?"
I'm going to look into this tomorrow, we have the full path, but I think our regex matching can't do this yet. We have another issue opened for part of an URL pattern matching.
This can lead to cardinality explosion if using metrics. It could also lead to leak sensitive data if not used properly. We use in some places url.full resource attribute with includes query part, but at the same time, we use removeQuery when we capture urls, to remove query params.
I guess that something we don't want to do for now. I'm closing the issue. We can always revisit the issue if there's more interested in capturing this data.