Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6146

Executor labels missing in serveral stats endpoints

    XMLWordPrintableJSON

Details

    • Story
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • None
    • HTTP API, scheduler api
    • None

    Description

      Now that ExecutorInfo.source is deprecated in favor of executor labels, it is necessary that executor labels are available in all API endpoints that are currently exposing the source property.

      This is not the case for the endpoints /monitor/statistics and /slave(1)/containers , making it unnecessarily complex to ingest this information for monitoring independently of /slave(1)/state.

      Example /monitor/statistics:

        {
          "executor_id": "thermos-www-data-devel-hello_docker_image-0-19461fcb-08bc-46eb-bdd0-6f28f98ee3ea",
          "executor_name": "AuroraExecutor",
          "framework_id": "9eedce32-c6ba-4fd0-b442-0c5dde5e9bcd-0000",
          "source": "www-data.devel.hello_docker_image.0",
          "statistics": {
            "cpus_limit": 1.25,
            "mem_limit_bytes": 135266304,
            "timestamp": 1473196498.95349
          }
        },
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              StephanErb Stephan Erb
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: