Skip to content

About

CircleCI Orb to deploy montecarlo monitors

Resources

Stars

0 stars

Watchers

17 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Publish monitors in Monte Carlo

CircleCI Orb commands to publish Monte Carlo monitors using Monte Carlo CLI.

The CLI requires Python 3.10 or higher in base container.

Commands

Command What it does Credentials
publish-monitors Applies the configuration required
validate-monitors Compiles the configuration locally none
validate-monitors-remote Reports the changes that would be applied required

publish-monitors and validate-monitors-remote need MCD_DEFAULT_API_ID and MCD_DEFAULT_API_TOKEN env variables with your API key credentials configured. A great way of doing this is using a CircleCI context.

Validating pull requests

Use validate-monitors on pull requests. It runs montecarlo monitors compile, which performs no API call and therefore needs no credentials, so the job can run on any branch without granting it a context.

validate-monitors-remote catches more — invalid field names, unknown domains, missing tables — but it needs credentials to do so. Any job that provides them also exposes them to the code of the branch being built, so --dry-run is not a safety boundary on its own. Restrict it to branches you trust.

See examples

About

CircleCI Orb to deploy montecarlo monitors

Resources

Stars

0 stars

Watchers

17 watching

Forks

Releases

Packages

Used by

Contributors