JMX index alias


(Sebastian Gavarini) #1

Hi,

I was thinking in using JMX monitoring to plot some data, like index
size, doc. count, translog ops, etc. The problem I am having is that
only the indices names are shown under "org.elasticsearch/indices",
not the aliases, so it's impossible to add an agent request for that
index, as the name changes from time to time (when I do a full reindex
for example, as I increment the index version and swap the alias
later). Also the caches status would be a nice JMX addition.

I think it must be somewhere in the roadmap, meanwhile I can implement
myself an MBean using the status API and the like, but I would like to
know if you are planning to add it soon so I won't waste time in it
now.

Thanks,
Sebastian.


(Shay Banon) #2

Its definitely doable, but, I am not a big fan of JMX monitoring, and
depending on the monitoring platform you use, would personally plug in calls
to the REST API.

On Wed, Aug 24, 2011 at 11:17 PM, Sebastian sgavarini@gmail.com wrote:

Hi,

I was thinking in using JMX monitoring to plot some data, like index
size, doc. count, translog ops, etc. The problem I am having is that
only the indices names are shown under "org.elasticsearch/indices",
not the aliases, so it's impossible to add an agent request for that
index, as the name changes from time to time (when I do a full reindex
for example, as I increment the index version and swap the alias
later). Also the caches status would be a nice JMX addition.

I think it must be somewhere in the roadmap, meanwhile I can implement
myself an MBean using the status API and the like, but I would like to
know if you are planning to add it soon so I won't waste time in it
now.

Thanks,
Sebastian.


(system) #3