{
  "repo": "tidbcloud/metering",
  "binary": "instancemetering",
  "binary_path": "cmd/instancemetering/main.go",
  "dependencies": {
    "Runtime InstanceMetering.main": {
      "infrastructure": {
        "http": {
          "conditions": [
            "Always after service config loads successfully"
          ],
          "operations": [
            {
              "operation": "SERVE HEALTH AND METRICS",
              "trigger": "Boot the shared Gin API and metrics listener",
              "conditions": [
                "The process reaches httpapi.StartService"
              ],
              "implementation": "httpapi.StartService in cmd/instancemetering/main.go and pkg/httpapi/gin.go"
            }
          ]
        }
      },
      "services": []
    }
  }
}
