Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        Observability course

        PromQL aggregation

        Opening Observability
        Your turn

        PromQL tutorial and cheat sheet

        A selector chooses time series; an aggregation chooses which labels survive. Inspect the service and status labels before summing. If you remove the service label too early, a result can describe the whole fleet when the question asks about one service.

        For a counter, calculate each series rate before grouping the result. A reset belongs to that individual series. For an error ratio, give the numerator and denominator the same service scope and time window. Keep the query small enough to inspect, then try fresh data in the practice set.

        Further practice

        Continue with the course and fresh PromQL practice. The primary reference documents the full product or standard beyond this local exercise.

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        New accounts get 12 hours of full access: every course, unit, project and exam. The clock starts when you open your first lesson.

        Plan your practice from a job ad or syllabus

        Have a referral code?

        or

        You can keep practicing without an account.

        Change your plan

        Checking the price

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.