Need help with GROT Academy Lab Section PromQL. Currently Stuck

  • What Grafana version and what operating system are you using?

    • Grafana Cloud, Windows 11 (Using Brave Browser)
  • What are you trying to achieve?

  • How are you trying to achieve it?

    • Maybe something needs to be fixed on the Tutorial Lab side?
  • What happened?

    • The queries work using Grafana Cloud Explorer, but in the Lab answer.txt, they don’t.
    • There is also a typo in your tutorial: “requests” should be “request”. Was this intended?
    • Also, on the last query snippet, it should be “{“ instead of “(“.
  • What did you expect to happen?

    • Everything should proceed smoothly since it worked in Grafana Cloud Explorer using Metrics Browser (Code).
  • Can you copy/paste the configuration(s) that you are having problems with?

    • This is another issue. I can’t seem to copy and paste the code snippets.
  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

    • I have some screenshots with the >_Grot Checker query results. Other than that no other weird errors popped up.
  • Did you follow any online instructions? If so, what is the URL?

    • Just the tutorial at GROT Academy. I also looked at the relevant documentation regarding PromQL labels and metrics.

Here are the Screenshots:

  1. sum by (method) (http_request_duration_seconds_count)

    In Lab: Does not Work

    In Grafana Explorer, Browser Metrics (Code): It Works

  2. The last snippet
    In Lab: Does not work

    In Grafana Explorer, Browser Metrics (code): It Works

I couldn’t find any Newbie Section or GROT Academy-specific category here. I apologize if this topic was posted in the wrong category, but Grafana + Prometheus makes sense.

Help please, thank you!

Hi @jarpadul,
Thanks for alerting us to the issue! We are taking a look at this now and will reach back out as soon as possible with a solution.

Jazz Carr
GROT Academy Program Manager

I got stuck on the exact same place 3 weeks ago, exactly the same problem. I’m looking forward to any tips or solutions for this specific roadblock.

Thank you.

We are working on revising this lab, @peterpizl :grinning_face: .
Thanks for your patience!

Jazz Carr

I am assuming you have fixed the Grot academy issue. I was able to finish the GROT Academy training completely a few weeks ago.

Thanks.

/PP

Has this been fixed? Still running into this issue today @jasminecarr

Hi @jamiemoxon ,

Thanks for tagging here and using our ticketing system.
Also appreciate your patience with this. After a recent change in helm chart setup, various steps in our GROT Academy labs were affected and we are working to resolve these issues now.

Once updated, we’ll modify the temporary banner on the site to let you know all is well and/or reply back here.

Again, we appreciate your willingness to learn more about Grafana Cloud and for communicating the issue.

Talk soon,

Jazz

Hello there,

I didn’t want to hijack into this thread but I am also stuck at this Lab, instead of the aggregation its the up section at the very beginning.

slug and token are provided.

When I put the desired query for lgtm containers into the answer.txt I receive an error from the GROT Checker that the container label was not found.

My query is: up{container=”lgtm”} which works fine in the exlporer - even if the data is from 2-4 days ago.

I am not running a k8s or helm on my own. In the previous k8s labs the cluster was set up there and I figured there will be k8s clusters running in the background for the PromQL labs too.

I was curious if this correlates to the issue that OP experienced.

Best regards,
Kaya