[
https://issues.apache.org/jira/browse/MESOS-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131717#comment-14131717
]
Dominic Hamon commented on MESOS-1787:
--------------------------------------
There might be some use in looking at
https://github.com/apache/mesos/tree/master/3rdparty/libprocess/include/process/metrics
and
https://github.com/apache/mesos/blob/master/3rdparty/libprocess/include/process/statistics.hpp
which are the things we use to expose metrics for the rest of the code-base.
> Expose historical executor statistics / time series data over slave endpoint
> ----------------------------------------------------------------------------
>
> Key: MESOS-1787
> URL: https://issues.apache.org/jira/browse/MESOS-1787
> Project: Mesos
> Issue Type: Improvement
> Components: slave
> Reporter: Niklas Quarfot Nielsen
>
> Per https://github.com/apache/mesos/blob/master/src/slave/monitor.hpp#L118 ,
> we already collect historical statistics but do not expose them over the
> monitor http endpoints yet.
> As [~bmahler] suggested, this would involve adding archive.json, presenting
> them (https://github.com/apache/mesos/blob/master/src/slave/monitor.cpp#L223)
> and preferably ways to query the available samples (along the lines of
> https://github.com/apache/mesos/blob/master/src/master/http.cpp#L776)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)