{
  "repo": "tidbcloud/serverless-metering",
  "binary": "metric-server",
  "binary_path": "cmd/main.go",
  "dependencies": {
    "Runtime MetricServer.run": {
      "description": "Accepts pushed metrics, stores them locally/remotely, optionally forwards them, and exposes monitor metrics.",
      "infrastructure": {
        "object_storage": {
          "conditions": [
            "Cloud provider configured"
          ],
          "operations": [
            {
              "operation": "Persist metrics in S3 or OSS-backed storage",
              "trigger": "initStorage / store.NewStorage",
              "implementation": "cmd/app/cmd.go"
            }
          ]
        }
      },
      "services": []
    }
  }
}
