mesos_stats

package module
v0.0.0-...-593f390 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2015 License: MIT Imports: 0 Imported by: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Mesos Statistics

Go definitions for the monitor/statistics.json endpoint.

Documentation

Overview

Definititions for mesos slave:5051/monitor/statistics.json endpoint. The data is in the form of []Monitor. Collecting the information and unmarshal the JSON into []Monitor will get the data into these structs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	ExecutorId   string      `json:"executor_id"`
	ExecutorName string      `json:"executor_name"`
	FrameworkId  string      `json:"framework_id"`
	Source       string      `json:"source"`
	Statistics   *Statistics `json:"statistics"`
}

type Statistics

type Statistics struct {
	CpusUserTimeSecs   float64 `json:"cpus_user_time_secs"`
	CpusSystemTimeSecs float64 `json:"cpus_system_time_secs"`
	CpusLimit          float64 `json:"cpus_limit"`
	MemRssBytes        int64   `json:"mem_rss_bytes"`
	MemLimitBytes      int64   `json:"mem_limit_bytes"`
	Timestamp          float64 `json:"timestamp"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址