Skip to content

[$35 BOUNTY] [Go] Prometheus metrics export for market gateway #5

Description

@GautamKumarOffical

Bounty: $35 (LT)
Area: market/analytics/metrics.go, market/main.go
Current state: Prometheus-compatible metrics export has been added to the market gateway for monitoring trading activity and system health. A /metrics endpoint serves Prometheus-format metrics on port 9090.
What's needed: This issue tracks the completed Prometheus metrics export feature for the cross-repo bounty tracker.
Acceptance criteria:

  • /metrics endpoint serving Prometheus-format metrics on port 9090
  • market_orders_total{type,side} Counter
  • market_trades_total Counter
  • market_active_connections Gauge
  • market_orderbook_depth{side} Gauge
  • market_matching_latency_seconds Histogram
  • Configurable via METRICS_PORT env var and --metrics flag
    Required validation:
  • Run python3 build.py
  • Include the generated diagnostic .logd artifact from diagnostic/build-XXX.logd in the PR; also include diagnostic/build-XXX.json if present
  • Use .github/pull_request_template.md for your submission

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions