Operational Monitoring (OpMon) πŸ“ˆ
ΠŸΠ΅Ρ€Π΅ΠΉΡ‚ΠΈ ΠΊ Ρ„Π°ΠΉΠ»Ρƒ
Anna Scholtz 7ea34600dd Fail gracefully if opmon project is not runnable 2022-05-19 13:57:17 -07:00
.circleci Add method docs 2022-03-25 14:52:17 -07:00
docs Generate alert view 2022-05-16 14:56:12 -07:00
opmon Fail gracefully if opmon project is not runnable 2022-05-19 13:57:17 -07:00
script Remove conversion script 2022-03-25 15:22:43 -07:00
.dockerignore Setup 2022-02-23 15:11:42 -08:00
.gitignore Setup 2022-02-23 15:11:42 -08:00
CODE_OF_CONDUCT.md Setup 2022-02-23 15:11:42 -08:00
Dockerfile Add Dockerfile 2022-03-17 15:18:26 -07:00
LICENSE Setup 2022-02-23 15:11:42 -08:00
README.md Update README 2022-03-31 14:08:02 -07:00
mypy.ini Setup 2022-02-23 15:11:42 -08:00
pyproject.toml Setup 2022-02-23 15:11:42 -08:00
requirements.in Update dependencies 2022-03-25 15:19:11 -07:00
requirements.txt Update dependencies 2022-03-25 15:19:11 -07:00
setup.cfg Setup 2022-02-23 15:11:42 -08:00
setup.py Remove conversion script 2022-03-25 15:22:43 -07:00
tox.ini Setup CLI, logging and templates 2022-03-01 14:11:45 -08:00

README.md

Operational Monitoring

Operational Monitoring (OpMon) is a self-service tool that aggregates and summarizes operational metrics that indicate the health of software. OpMon can be used to continuously monitor rollouts, experiments (including experiments with continuous enrollments) or the population of a specific product (for example, Firefox Desktop).

For more information on how to set up an Operational Monitoring project, see the documentation on dtmo.

Local installation

# Create and activate a python virtual environment.
python3 -m venv venv/
source venv/bin/activate
pip install -r requirements.txt
pip install .

The opmon CLI tool will be available to run locally:

$ opmon --help
Usage: opmon [OPTIONS] COMMAND [ARGS]...

  Initialize CLI.

Options:
  --log_project_id, --log-project-id TEXT
                                  GCP project to write logs to
  --log_dataset_id, --log-dataset-id TEXT
                                  Dataset to write logs to
  --log_table_id, --log-table-id TEXT
                                  Table to write logs to
  --log_to_bigquery, --log-to-bigquery
  --help                          Show this message and exit.

Commands:
  backfill         Backfill a specific project.
  run              Execute the monitoring ETL for a specific date.
  validate_config  Validate config files.

Documentation

User documentation is available on dtmo. Developer documentation is available in the docs/ directory.