Package eu.binjr.sources.netdata.api
Class ChartSummary
java.lang.Object
eu.binjr.sources.netdata.api.ChartSummary
ChartSummary
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe netdata server host operating system. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalarmsCount(BigDecimal alarmsCount) chartsCount(BigDecimal chartsCount) dimensionsCount(BigDecimal dimensionsCount) booleanThe number of alarms.An object containing all the chart objects available at the netdata server.The number of charts.The total number of dimensions.The duration, in seconds, of the round robin database maintained by netdata.The hostname of the netdata server.The name of the database memory mode on the server.getOs()The netdata server host operating system.The release channel of the build on the server.The size of the round robin database in bytes.The current timezone on the server.The default update frequency of the netdata server.netdata version of the server.inthashCode()history(BigDecimal history) memoryMode(String memoryMode) putChartsItem(String key, Chart chartsItem) releaseChannel(String releaseChannel) rrdMemoryBytes(BigDecimal rrdMemoryBytes) voidsetAlarmsCount(BigDecimal alarmsCount) voidvoidsetChartsCount(BigDecimal chartsCount) voidsetDimensionsCount(BigDecimal dimensionsCount) voidsetHistory(BigDecimal history) voidsetHostname(String hostname) voidsetMemoryMode(String memoryMode) voidvoidsetReleaseChannel(String releaseChannel) voidsetRrdMemoryBytes(BigDecimal rrdMemoryBytes) voidsetTimezone(String timezone) voidsetUpdateEvery(BigDecimal updateEvery) voidsetVersion(String version) toString()updateEvery(BigDecimal updateEvery)
-
Field Details
-
ENDPOINT
- See Also:
-
SERIALIZED_NAME_HOSTNAME
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
SERIALIZED_NAME_RELEASE_CHANNEL
- See Also:
-
SERIALIZED_NAME_TIMEZONE
- See Also:
-
SERIALIZED_NAME_OS
- See Also:
-
SERIALIZED_NAME_HISTORY
- See Also:
-
SERIALIZED_NAME_MEMORY_MODE
- See Also:
-
SERIALIZED_NAME_UPDATE_EVERY
- See Also:
-
SERIALIZED_NAME_CHARTS
- See Also:
-
SERIALIZED_NAME_CHARTS_COUNT
- See Also:
-
SERIALIZED_NAME_DIMENSIONS_COUNT
- See Also:
-
SERIALIZED_NAME_ALARMS_COUNT
- See Also:
-
SERIALIZED_NAME_RRD_MEMORY_BYTES
- See Also:
-
-
Constructor Details
-
ChartSummary
public ChartSummary()
-
-
Method Details
-
hostname
-
getHostname
The hostname of the netdata server.- Returns:
- hostname
-
setHostname
-
version
-
getVersion
netdata version of the server.- Returns:
- version
-
setVersion
-
releaseChannel
-
getReleaseChannel
The release channel of the build on the server.- Returns:
- releaseChannel
-
setReleaseChannel
-
timezone
-
getTimezone
The current timezone on the server.- Returns:
- timezone
-
setTimezone
-
os
-
getOs
The netdata server host operating system.- Returns:
- os
-
setOs
-
history
-
getHistory
The duration, in seconds, of the round robin database maintained by netdata.- Returns:
- history
-
setHistory
-
memoryMode
-
getMemoryMode
The name of the database memory mode on the server.- Returns:
- memoryMode
-
setMemoryMode
-
updateEvery
-
getUpdateEvery
The default update frequency of the netdata server. All charts have an update frequency equal or bigger than this.- Returns:
- updateEvery
-
setUpdateEvery
-
charts
-
putChartsItem
-
getCharts
An object containing all the chart objects available at the netdata server. This is used as an indexed array. The key of each chart object is the id of the chart.- Returns:
- charts
-
setCharts
-
chartsCount
-
getChartsCount
The number of charts.- Returns:
- chartsCount
-
setChartsCount
-
dimensionsCount
-
getDimensionsCount
The total number of dimensions.- Returns:
- dimensionsCount
-
setDimensionsCount
-
alarmsCount
-
getAlarmsCount
The number of alarms.- Returns:
- alarmsCount
-
setAlarmsCount
-
rrdMemoryBytes
-
getRrdMemoryBytes
The size of the round robin database in bytes.- Returns:
- rrdMemoryBytes
-
setRrdMemoryBytes
-
equals
-
hashCode
public int hashCode() -
toString
-