Skip to main content

Multiple environment monitoring from single account

My app has different environments like - dev, uat, prod

As my app changes, my tests are updated. The test on dev, uat, prod are different.

right now when i deploy, I can only run prod environment tests (as they are highest priority)

But I want to have tests monitoring my dev, uat, prod (ie all environments)

I want a solution where

  • I can deploy checkly tests from my dev branch & they should monitor dev environmnet

  • I can deploy checkly tests from my uat branch & they should monitor uat environmnet

  • I can deploy checkly tests from my prod branch & they should monitor prod environmnet

Note: even though test name remains same; test contents & the underlying api behaviour is different.

Please suggest solution if already present in the sysyem

Status: Completed3 comments

Log in to comment and vote

Comments3

  • Hervé Labas

    Team•

    Jul 27

    Hi,

    We clarified how to best work with multiple environments using Checkly here:

    https://www.checklyhq.com/docs/concepts/environments/

    This should cover the needs you detailed here.

  • Jonathan Canales

    •

    Feb 4

    This is possible already today but using environment variables or multiple check configs. please reach out to support.

  • Jonathan Canales

    •

    Aug 1, 2024

    Hey there Pranav,

    The logic here is completely dependent upon your application code.

    Look within this repo’s test directory to see how this can be accomplished. Essentially you would have to in some way control for what you are testing on what environment.

    If you want to feel free to follow up in our Checkly Community Slack