{
  "repo": "tidbcloud/infra-provider",
  "binary": "infra-exporter",
  "binary_path": "infra-exporter/main.go",
  "dependencies": {
    "HealthService.healthz": {
      "infrastructure": {},
      "services": []
    },
    "MetricsService.metrics": {
      "infrastructure": {},
      "services": []
    },
    "InfraResourceCollectors.WatchDedicatedAndCrossplaneResources": {
      "infrastructure": {
        "kubernetes": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Dynamic informer LIST/WATCH",
              "trigger": "Watch infra resources in the infra cluster",
              "implementation": "dynamicinformer.NewFilteredDynamicSharedInformerFactory(...).ForResource(...).Informer()"
            }
          ]
        },
        "prometheus": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Collector registration",
              "trigger": "Expose resource inventory metrics",
              "implementation": "prometheus.Register(collector)"
            }
          ]
        }
      },
      "services": []
    }
  }
}
