[
https://issues.apache.org/jira/browse/MESOS-1841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Mahler updated MESOS-1841:
-----------------------------------
Labels: twitter (was: )
We can't to it inside metrics, but can definitely add another endpoint.
> drivers should expose their version on an endpoint
> --------------------------------------------------
>
> Key: MESOS-1841
> URL: https://issues.apache.org/jira/browse/MESOS-1841
> Project: Mesos
> Issue Type: Improvement
> Reporter: David Robinson
> Priority: Minor
> Labels: twitter
>
> The libraries (used by scheduler and executor) should expose their version on
> an endpoint.
> {noformat:title=stats exposed by the scheduler driver}
> # netstat -dnatp | grep LISTEN | grep java
> tcp 0 0 0.0.0.0:48747 0.0.0.0:*
> LISTEN 1699/java
> tcp 0 0 :::8081 :::*
> LISTEN 1699/java
> # curl -s http://localhost:48747/metrics/snapshot | python2.7 -m json.tool
> {
> "scheduler/event_queue_messages": 0,
> "system/cpus_total": 24,
> "system/load_15min": 0.18,
> "system/load_1min": 0.29,
> "system/load_5min": 0.2,
> "system/mem_free_bytes": 7850483712,
> "system/mem_total_bytes": 33534873600
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)