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

FE: Timerange is not working on URL #3790

Closed
cgomezluengo opened this issue Oct 25, 2023 · 4 comments · Fixed by #4192
Closed

FE: Timerange is not working on URL #3790

cgomezluengo opened this issue Oct 25, 2023 · 4 comments · Fixed by #4192
Assignees
Labels
bug Something isn't working customer issues logs

Comments

@cgomezluengo
Copy link

Bug description

I am trying to share logs from a specified timerange and filters.

Creating a filter by k8s_namespace_name and set the timerange in a custom timerange.

I copy the URL and change the timerange that should be this part timeRange=%7B%22start%22%3A1698147394000%2C%22end%22%3A1698233796000%2C%22
that means start 1698147394000 and end 1698233796000

This still happening when I use the share button
image

http://{URL}/logs-explorer?options=%7B%22selectColumns%22%3A%5B%5D%2C%22maxLines%22%3A2%2C%22format%22%3A%22list%22%7D&timeRange=%7B%22start%22%3A1698147394000%2C%22end%22%3A1698233796000%2C%22pageSize%22%3A100%7D&compositeQuery=%257B%2522queryType%2522%253A%2522builder%2522%252C%2522builder%2522%253A%257B%2522queryData%2522%253A%255B%257B%2522dataSource%2522%253A%2522logs%2522%252C%2522queryName%2522%253A%2522A%2522%252C%2522aggregateOperator%2522%253A%2522noop%2522%252C%2522aggregateAttribute%2522%253A%257B%2522id%2522%253A%2522------false%2522%252C%2522dataType%2522%253A%2522%2522%252C%2522key%2522%253A%2522%2522%252C%2522isColumn%2522%253Afalse%252C%2522type%2522%253A%2522%2522%252C%2522isJSON%2522%253Afalse%257D%252C%2522filters%2522%253A%257B%2522items%2522%253A%255B%255D%252C%2522op%2522%253A%2522AND%2522%257D%252C%2522expression%2522%253A%2522A%2522%252C%2522disabled%2522%253Afalse%252C%2522having%2522%253A%255B%255D%252C%2522stepInterval%2522%253A240%252C%2522limit%2522%253Anull%252C%2522orderBy%2522%253A%255B%257B%2522columnName%2522%253A%2522timestamp%2522%252C%2522order%2522%253A%2522desc%2522%257D%255D%252C%2522groupBy%2522%253A%255B%255D%252C%2522legend%2522%253A%2522%2522%252C%2522reduceTo%2522%253A%2522sum%2522%257D%255D%252C%2522queryFormulas%2522%253A%255B%255D%257D%252C%2522promql%2522%253A%255B%257B%2522name%2522%253A%2522A%2522%252C%2522query%2522%253A%2522%2522%252C%2522legend%2522%253A%2522%2522%252C%2522disabled%2522%253Afalse%257D%255D%252C%2522clickhouse_sql%2522%253A%255B%257B%2522name%2522%253A%2522A%2522%252C%2522legend%2522%253A%2522%2522%252C%2522disabled%2522%253Afalse%252C%2522query%2522%253A%2522%2522%257D%255D%252C%2522id%2522%253A%25224cd6b481-fbf0-40ba-b869-9aa602b70462%2522%257D

But when I enter with another browser, I still see the las 15 mins (the default)
image

Expected behavior

When share the link with the timerange setted. the logs that should be displayed, should be within that timerange

How to reproduce

  1. Go to Front end and log in
  2. Filter logs by something (in this case by k8s_namespace_name) and put a custom timerange
  3. Copy the url or click on the share button.
  4. Enter with that url, you will see the last 15 mins instead the custom timerange.

Version information

  • Signoz version:
  • FE: 0.32.0
  • Browser version:
  • Chrome Versión 118.0.5993.88 (Build oficial) (64 bits)
  • Your OS and version:
  • Ubuntu 22.04.3 LTS

Additional context

I am trying to put SigNoz on a Kubernetes Cluster and record logs from Cluster that are deploying on CI/CD.
And I need to create a link so that the devs can see the logs that SigNoz collects from that particular cluster.

@welcome
Copy link

welcome bot commented Oct 25, 2023

Thanks for opening this issue. A team member should give feedback soon. In the meantime, feel free to check out the contributing guidelines.

@nityanandagohain
Copy link
Member

Thanks for reporting the issue. I tried to replicate the issue. The time range seems to copied correctly for me, just that the log line is not visible sometime.

@nityanandagohain nityanandagohain self-assigned this Oct 25, 2023
@cgomezluengo
Copy link
Author

cgomezluengo commented Oct 25, 2023

Thanks for reporting the issue. I tried to replicate the issue. The time range seems to copied correctly for me, just that the log line is not visible sometime.

Did you try with another user ?
I mean, pass the URL to another user.

And I am using SigNoz hosted on my Kubernetes.

@nityanandagohain
Copy link
Member

Right, here are the issues.

  • While sharing link the timerange doesn't work when the link is used by a different user.
  • When sharing link of a log line after scrolling n times, it doesn't work.

@makeavish makeavish added the bug Something isn't working label Nov 6, 2023
@YounixM YounixM assigned palashgdev and unassigned palashgdev Nov 23, 2023
vikrantgupta25 added a commit to vikrantgupta25/signoz that referenced this issue Dec 8, 2023
vikrantgupta25 added a commit to vikrantgupta25/signoz that referenced this issue Dec 8, 2023
YounixM pushed a commit to vikrantgupta25/signoz that referenced this issue Dec 12, 2023
YounixM pushed a commit to vikrantgupta25/signoz that referenced this issue Dec 12, 2023
vikrantgupta25 added a commit to vikrantgupta25/signoz that referenced this issue Dec 13, 2023
vikrantgupta25 added a commit to vikrantgupta25/signoz that referenced this issue Dec 14, 2023
vikrantgupta25 added a commit to vikrantgupta25/signoz that referenced this issue Dec 14, 2023
YounixM pushed a commit to vikrantgupta25/signoz that referenced this issue Dec 14, 2023
YounixM pushed a commit to vikrantgupta25/signoz that referenced this issue Dec 14, 2023
YounixM pushed a commit to vikrantgupta25/signoz that referenced this issue Dec 14, 2023
YounixM pushed a commit to vikrantgupta25/signoz that referenced this issue Dec 14, 2023
YounixM pushed a commit to vikrantgupta25/signoz that referenced this issue Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working customer issues logs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants