Operational Monitoring (OpMon) πŸ“ˆ
ΠŸΠ΅Ρ€Π΅ΠΉΡ‚ΠΈ ΠΊ Ρ„Π°ΠΉΠ»Ρƒ
Nick Alexander 54a8809ef7 Add submission_timestamp column sibling to submission_date. (#126)
This makes it easier to visualize Opmon aggregate metrics in Grafana:
Grafana's Bigquery integration is fundamentally `TIMESTAMP` shaped,
not `DATE` shaped, and this avoids writing nested queries.
2023-03-10 10:55:02 -08:00
.circleci Load configs from metric-hub 2023-01-23 15:44:34 -08:00
docs Load configs from metric-hub 2023-01-23 15:44:34 -08:00
opmon Add submission_timestamp column sibling to submission_date. (#126) 2023-03-10 10:55:02 -08:00
script Remove conversion script 2022-03-25 15:22:43 -07:00
.dockerignore Setup 2022-02-23 15:11:42 -08:00
.gitignore Remove python-version 2022-10-12 14:37:47 -07: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
platform_config.toml Support multiple Glean channels 2022-11-09 13:40:14 -08:00
pyproject.toml Setup 2022-02-23 15:11:42 -08:00
requirements.in Remove pytest-flake8 2023-02-27 08:29:22 -08:00
requirements.txt Remove pytest-flake8 2023-02-27 08:29:22 -08:00
setup.cfg Setup 2022-02-23 15:11:42 -08:00
setup.py [preview] Fish slug from `--config-file` by default. 2023-02-28 11:42:27 -08: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.