{
  "repo": "elastic/beats",
  "binary": "metricbeat",
  "binary_path": "metricbeat/main.go",
  "surface_kind": "worker_service",
  "type": "worker_service",
  "extensions": {
    "notes": [
      "metricbeat/main.go only executes cmd.RootCmd and then runs as a long-lived metric shipper.",
      "No standalone HTTP or gRPC server is started from the root entrypoint."
    ]
  },
  "services": [
    {
      "name": "Metricbeat",
      "package": "github.com/elastic/beats/v7/metricbeat/cmd",
      "methods": [
        {
          "name": "metricbeat",
          "name_key": "Metricbeat.Run",
          "input": "cobra flags + metricbeat modules and outputs",
          "output": "continuous collection and shipping of system and service metrics",
          "type": "worker"
        }
      ]
    }
  ]
}
