-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide option to set log format for faro.receiver
component
#1592
Comments
Update here: I have tried the
I think this is a workaround solution, and I really want I could configure the |
Update again: I have updated Grafana Alloy to |
This issue has not had any activity in the past 30 days, so the |
Hi @titaneric! #2276 will add support for the json format. |
Request
Present log format for
faro.receiver
component islogfmt
, which is fixed and not consistent toformat
setting inlogging
configuration block.I want to request a new option to set the log format for
faro.receiver
, either define infaro.receiver
component orfaro.receiver
component could send the consistent log format in thelogging
block.Use case
Faro v1.4.0 introduces the performance metrics to send
event
type tofaro.receiver.
.The request payload is similar to the following one.
faro.receiver
would digest the events and serialize them withlogfmt
, similar to the following one.Here comes the issue, since
event_data_name="https://test-domain.com/?_rsc=1nmqd"
would have the paramaters, and it has the equal sign (=
) inside the url. If I adoptlog.process
to pre-process the log with the following component, I would have the error.The error is
The position 442 is EXACTLY the position of equal sign in the
event_data_name
label.I want to pre-process the
event_data_name
label and remove the domain name and parametes, replace the GET single resource path (e.g.,/post/xxxx
) with/post/*
, and adopt logql to demonstrate the query Loki datasource on Grafana.Hope the use case is clear enough.
The text was updated successfully, but these errors were encountered: