Comments (16)
Hello. Do you request something like topK(5, rate({a="b"} | json [10m]))
?
from qryn.
I don't think so. This is the error we're seeing from Grafana dashboard end.
from qryn.
Well Not supported\nBad Request: Not supported
in this case means that topK
with | json
or | logfmt
is not supported.
Please try using | json a="obj.a"
- json with parameters with topK.
I'll recheck the grafana agent but it seems like a human built request with | json
and topk
from grafana explore or a dashboard.
from qryn.
ok do we have a rebuilt dashboard that can be used?
from qryn.
I'm using the prebuilt dashboard and just imported that to grafana
from qryn.
can you please share a link to the prebuilt dashboard you use? is it from an open source?
from qryn.
another question. "reqId":"req-2k"
can you please filter the logs by req-2k
string and paste the request causing the error?
from qryn.
do you have a widget named Top Exceptions
inside the prebuilt dashboard?
from qryn.
Yes
from qryn.
I think I see the source of the prebuilt dashboard you have.
https://github.com/grafana/faro-web-sdk/blob/main/dashboards/frontend-application.json#L995
As you see at this line https://github.com/grafana/faro-web-sdk/blob/main/dashboards/frontend-application.json#L990C11-L990C23
topk(10, count(count_over_time({kind="exception", app="$app"} | logfmt [$__range])) by (value))
The request is not supported for now. We should either replace it or support it.
I'll think about that. Maybe it's easier to make a quick replacement.
from qryn.
sure, thanks. At this moment, we can't do anything about it?
from qryn.
We will suggest the requests replacements shortly.
from qryn.
Suggested replacements for some of widgets of the dashboard:
Top Exceptions
topk(10, count(count_over_time({kind="exception", app="$app"} | regexp "value=(?<value>([^\"]+|\"[^\"]+\"))" [$__range])) by (value))
Top URLs by Exception Count
topk(10, count(count_over_time({kind="exception", app="$app"} | regexp "page_url=(?<page_url>([^\"]+|\"[^\"]+\"))" [$__range])) by (page_url))
Top Browsers by Exception Count
topk(10, count(count_over_time({kind="exception", app="$app"} | regexp "browser_name=(?<browser_name>([^\"]+|\"[^\"]+\")).*browser_version=(?<browser_version>([^\"]+|\"[^\"]+\"))" [$__range])) by (browser_name, browser_version))
Popular Browsers
topk(10, count(count_over_time({app="$app",kind="measurement"} |= " ttfb=" | regexp "browser_name=(?<browser_name>([^\"]+|\"[^\"]+\")).*browser_version=(?<browser_version>([^\"]+|\"[^\"]+\"))" [$__range])) by (browser_name, browser_version))
Top Events
topk(10, count(count_over_time({kind="event", app="$app"} | regexp "event_name=(?<event_name>([^\"]+|\"[^\"]+\"))" [$__range])) by (event_name))
The Not supported
error should not appear after the changes are made.
It's an interesting logic to replace logfmt
to regexp
if possible. Sounds like a feature request. Thanks for the issue.
from qryn.
thank you for helping here. We were able to pull the data. However, these ones are still throwing error
Cumulative Layout Shift, p75
quantile_over_time(0.75, {kind="measurement",app="$app"} |= " cls=" | logfmt | unwrap cls [5m]) by (app)
First Input Delay, p75
quantile_over_time(0.75, {kind="measurement",app="$app"} |= " fid=" | logfmt | unwrap fid [5m]) by (app)
Page Load, p75
quantile_over_time(0.75, {kind="measurement",app="$app"} |= " ttfb=" | logfmt | unwrap ttfb [5m]) by (app)
quantile_over_time(0.75, {kind="measurement",app="$app"} |= " fcp=" | logfmt | unwrap fcp [5m]) by (app)
quantile_over_time(0.75, {kind="measurement",app="$app"} |= " lcp=" | logfmt | unwrap lcp [5m]) by (app)
from qryn.
I see. Will provide the same replacement.
Feel free to do it yourself. Just replace | logfmt
with | regexp "lcp=(?<lcp>([^\"]+|\"[^\"]+\"))"
from qryn.
thank you that worked
from qryn.
Related Issues (20)
- Pyroscope flame graph error "Cannot read properties of: undefined (reading 'fields')" HOT 1
- Feature Request: Trino support HOT 1
- Error with npm in qryn 3.2.9 HOT 2
- Booleans parsed from environment in utterly confusing ways HOT 3
- Tempo request raises out of bound error HOT 1
- Tempo request raises out of bound error HOT 2
- The use of JSON struct in clickhouse results in high storage space consumption HOT 15
- TypeError: undefined is not an object (evaluating 'clickhouseOptions.queryOptions') HOT 3
- Error "Bad Request: invalid request" with large body request to qryn HOT 3
- Out of bound error in /api/v1/query_range HOT 4
- Feature: Query Log Volume API
- Feature: Patterns Detection API
- [bug] RangeError: Too many properties to enumerate HOT 3
- TraceQL parse error when tag name include "-" HOT 1
- BULK_MAXAGE / BULK_MAXSIZE - insert limits!? HOT 2
- panic: vector cannot contain metrics with the same labelset HOT 1
- undefined parser HOT 5
- distributed table (time_series_gin_dist) is not always used in cluster mode HOT 3
- option to create schema end exit process HOT 1
- Changing authentication header prefix HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qryn.