Operational Monitoring (OpMon) 📈
Перейти к файлу
Anna Scholtz d354f05425
Merge branch 'main' into fix-rollout-defaults-2
2023-09-18 13:59:36 -07:00
.circleci Update to python 3.10 2023-09-18 13:58:55 -07:00
docs Load configs from metric-hub 2023-01-23 15:44:34 -08:00
opmon Fix rollout defaults 2023-09-18 13:55:20 -07:00
script
.dockerignore
.gitignore
CODE_OF_CONDUCT.md
Dockerfile Update to python 3.10 2023-09-18 13:58:55 -07:00
LICENSE
README.md add preview to readme 2023-09-18 08:33:50 -07:00
mypy.ini
platform_config.toml Support multiple Glean channels 2022-11-09 13:40:14 -08:00
pyproject.toml
requirements.in Fix rollout defaults 2023-09-18 13:55:20 -07:00
requirements.txt Fix rollout defaults 2023-09-18 13:55:20 -07:00
setup.cfg
setup.py Update to python 3.10 2023-09-18 13:58:55 -07:00
tox.ini

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.
  preview          Create a preview for a specific project based on a subset of data.
  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.