Skip to content
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

Trace views do not return any data when no queries are specified #454

Open
VermaPriyanka opened this issue Sep 20, 2024 · 1 comment
Open
Labels
datasource/OpenSearch type/bug Something isn't working

Comments

@VermaPriyanka
Copy link

What happened:
Trace views (list, span, service map) require a query expression to be specified to load any trace views. Unlike logs view, which by default would load all log entries for the data source when no query is specified.

What you expected to happen:
Either a pre-filled query to provide a landing experience or pre-load of an all results query, or some hint to the user that the results will appear only after the specify a query.

How to reproduce it (as minimally and precisely as possible):

  • Configure an OpenSearch datasource, that has trace analytics enables.
  • Go to Explore, and select the data source configured in prior step.
  • Select Traces as query type, no results appear.
  • Add a traceId:* query, results appear

Anything else we need to know?:

Environment:

  • Grafana version: 10.4.1
  • OpenSearch version: 2.15
  • Plugin version: 2.18
@idastambuk
Copy link
Contributor

Hi @VermaPriyanka,

I just tested it with plugin v2.18 and Opensearch v2.16 and I'm getting results with an empty query:

Could you paste the query displayed in the Query Inspector -> Query -> Copy to Clipboard so we can compare the queries? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasource/OpenSearch type/bug Something isn't working
Projects
Status: Waiting
Development

No branches or pull requests

2 participants