Skip to content

Add Prometheus metrics endpoint to agent service #716

Description

@robertocarlous

Description

The agent service should expose Prometheus metrics for monitoring and alerting.

Current State

  • No metrics endpoint
  • Cannot monitor request latency
  • Cannot track error rates

Expected Behavior

  • Expose /metrics endpoint
  • Track request duration histogram
  • Track error rate counter
  • Track OpenAI API usage
  • Track Stellar RPC latency

Files Affected

  • agent/src/
  • agent/package.json (add prom-client dependency)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave programenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions