Skip to content

Self-contained drop-in Docker Compose for existing Prom-Grafana stacks #245

@milindsrivastava1997

Description

@milindsrivastava1997

Problem

The existing quickstart Docker Compose ships with its own Prometheus and Grafana and is not usable by someone with an existing deployment. Users who want to add ASAPQuery to their stack currently have to manually install and run Kafka, Arroyo, asap-summary-ingest, and asap-query-engine.

Goal

Provide a self-contained Docker Compose that users can run alongside their existing Prometheus and Grafana. The only changes required to their existing stack should be:

  1. Add remote_write to their prometheus.yml pointing at asap-summary-ingest
  2. Change their Grafana datasource URL from Prometheus to asap-query-engine

Details

The compose file should bundle:

  • asap-query-engine
  • asap-summary-ingest (+ its dependencies)
  • asap-planner-rs (for initial config bootstrap)
  • Any required message broker infrastructure

Environment variables should expose the two required connection points (Prometheus remote_write target, upstream Prometheus URL for fallback) with clear names and documented defaults.

Acceptance Criteria

  • A user with a running Prometheus + Grafana can add ASAPQuery by running docker compose up -d and making the two config changes above
  • No other services need to be installed or managed
  • The compose file is distinct from the quickstart demo and documented separately

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions