Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 111 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,117 @@ Check your elasticsearch log file for a line like this after adding the configur
* Not extensively tested
* In case of a master node failover, counts are starting from 0 again (in case you are wondering about spikes)

## Changes (ES 2.3):

```text
node.process
cpu
- sysSeconds
- userSeconds
mem
- resident
- share

node.os
cpu
+ percent
+ average
- sys
- idle
- user
mem
- actualFreeBytes
- actualUsedBytes

- node.network.tcp
- activeOpens
- passiveOpens
- attemptFails
- estabResets
- currEstab
- inSegs
- outSegs
- retransSegs
- inErrs
- outRsts

node.jvm
- gc.%name%.lastGc
- startTime
- endTime
- max
- beforeUsed
- afterUsed
- durationSeconds
+ buffer.pool.%name%
+ totalCapacity
+ used
+ count

node.fs%i%
- diskReads
- diskReadsInBytes
- diskWrites
- diskWritesInBytes
- diskQueue
- distService

indexes.%name%.id.%id%
+ completion
+ sizeInBytes
+ suggest
+ count
+ current
+ timeInMillis
+ segments
+ count
+ memoryInBytes
+ bitsetMemoryInBytes
+ docValuesMemoryInBytes
+ indexWriterMaxMemoryInBytes
+ indexWriterMemoryInBytes
+ normsMemoryInBytes
+ storedFieldsMemoryInBytes
+ termVectorsMemoryInBytes
+ termsMemoryInBytes
+ versionMapMemoryInBytes
+ recovery
+ currentAsSource
+ currentAsTarget
+ querycache
+ evictions
+ hitCount
+ missCount
+ memorySizeInBytes
+ cacheCount
+ cacheSize
+ totalCount
+ translog
+ estimatedNumberOfOperations
+ sizeInBytes

node
+ merge [see higher]
+ store [see higher]
+ completion [see higher]
+ suggest [see higher]
+ segments [see higher]
+ recovery [see higher]
+ querycache [see higher]
+ requestcache
+ evictions
+ hitCount
+ missCount
+ memorySizeInBytes
+ percolate
+ count
+ current
+ memorySizeInBytes
+ numQueries
+ timeInMillis
- filtercache
- idcache
```

## Credits

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<url>https://github.com/spinscale/elasticsearch-graphite-plugin/</url>

<properties>
<elasticsearch.version>1.7.3</elasticsearch.version>
<elasticsearch.version>2.3.1</elasticsearch.version>
<hamcrest.version>1.3</hamcrest.version>
</properties>

Expand Down
7 changes: 7 additions & 0 deletions src/main/assemblies/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<files>
<file>
<source>src/main/resources/elasticsearch-graphite-plugin/plugin-descriptor.properties</source>
<outputDirectory></outputDirectory>
<filtered>true</filtered>
</file>
</files>
<dependencySets>
<dependencySet>
<outputDirectory>/</outputDirectory>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package org.elasticsearch.plugin.graphite;

import org.elasticsearch.common.collect.Lists;
import com.google.common.collect.Lists;
import org.elasticsearch.common.component.LifecycleComponent;
import org.elasticsearch.plugins.AbstractPlugin;
import org.elasticsearch.plugins.Plugin;
import org.elasticsearch.service.graphite.GraphiteService;

import java.util.Collection;

public class GraphitePlugin extends AbstractPlugin {
public class GraphitePlugin extends Plugin {

public String name() {
return "graphite";
Expand All @@ -17,8 +17,8 @@ public String description() {
return "Graphite Monitoring Plugin";
}

@SuppressWarnings("rawtypes")
@Override public Collection<Class<? extends LifecycleComponent>> services() {
@Override
public Collection<Class<? extends LifecycleComponent>> nodeServices() {
Collection<Class<? extends LifecycleComponent>> services = Lists.newArrayList();
services.add(GraphiteService.class);
return services;
Expand Down
Loading