Skip to main content

🛠️ A Python tool for generating bulk logs & metrics in Google Cloud. Simulate historical & live data to test alerts, refine LQL/SQL/PromQL queries, troubleshoot observability setups, and create structured data for training & automation.

Project description

Python Version License GitHub Stars GitHub Issues

🏠 Observability Testing Tool for Google Cloud

Easily generate bulk logs and metrics in Google Cloud Operations Suite to test alerts, validate queries, and simulate real-world observability scenarios.

🚀 Use Cases

This Python-based tool is designed for:

  • Training & Education

    Successfully used in the Advanced Observability Querying in Google Cloud course, it helps create logs and metrics for hands-on labs and classroom demos.

  • Testing & Validation

    Use it to:

    • Simulate logs and metrics when testing expressions for Logs Explorer with Logging Query Language (LQL), for Log Analytics with SQL, and for Cloud Monitoring with PromQL.

    • Generate real-time live data to test Cloud Monitoring alerts and notifications.


⚡ Generate Historical or Live Data

The tool supports two data generation modes, that can be mixed within the same run.

  • 📜 Historical Logs & Metrics

    Bulk-generate logs and metrics for a past time window.

    Limits:

    • Google Cloud quotas apply: Logging Limits, Monitoring Limits.

    • Logs: Up to 30 days in the past and 1 day in the future.

    • Metrics: Up to 25 hours in the past and 5 minutes in the future.

  • Live Logs & Metrics

    Continuously generate logs and metrics between a future start and end time.

    The tool runs until the specified end time, creating data at the configured intervals.

    Ideal for testing alerts and notifications in real-time.


📖 Documentation

🔹 Set Up & Install – Installation guide.
🔹 Quick Start – Jump into usage examples.
🔹 Configuration Reference – Full list of options.


🛠 Contributing

Feel free to open an issue or submit a PR in the Github repository if you have ideas for improvement!


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

observability_testing_tool-1.1.0.tar.gz (30.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

observability_testing_tool-1.1.0-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

Details for the file observability_testing_tool-1.1.0.tar.gz.

File metadata

File hashes

Hashes for observability_testing_tool-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5ec1a651a747f454bc99eea6ba25368fe3d37fc01dc38dcb7107774fa8ede424
MD5 d753d1d95a02546c3a233ec8cb80640a
BLAKE2b-256 a2e35cab33f0f84c58170177d5ad25b706b0eb268225006e36cc79f28ee95517

See more details on using hashes here.

Provenance

The following attestation bundles were made for observability_testing_tool-1.1.0.tar.gz:

Publisher: publish.yml on fmestrone/observability-testing-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file observability_testing_tool-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for observability_testing_tool-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2e45e60c216c3ede9039805cc81ba88f6826936c0d88c002485512d98f5ccc5
MD5 10ba91473f738edc933358badb4ead50
BLAKE2b-256 d01d85f1056435f88512cd201b6192eb2fd4839a01503f039dd6d4d3fef1315a

See more details on using hashes here.

Provenance

The following attestation bundles were made for observability_testing_tool-1.1.0-py3-none-any.whl:

Publisher: publish.yml on fmestrone/observability-testing-tool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page