Giter VIP home page Giter VIP logo

dynatrace / dynatrace-appmon-elasticsearch-plugin Goto Github PK

View Code? Open in Web Editor NEW
4.0 41.0 1.0 10.94 MB

A plugin for Dynatrace AppMon to fetch measures from an Elasticsearch Cluster

Home Page: https://community.dynatrace.com/community/display/DL/Elasticsearch+FastPack

License: BSD 3-Clause "New" or "Revised" License

Java 99.89% Shell 0.11%
dynatrace elasticsearch plugin monitoring appmon

dynatrace-appmon-elasticsearch-plugin's Introduction

Dynatrace-Elasticsearch-Plugin

testresources/icon.png

The Dynatrace FastPack for Elasticsearch provides a plugin for Dynatrace AppMon which collects various metrics from an Elasticsearch Cluster and sends them to a Dynatrace instance. It also provides a System Profile and a sample Dashboard which visualizes some of the metrics.

Find further information in the dynaTrace community.

Build Status Gradle Status

Additional information

Prerequisites

  • Dynatrace Application Monitoring version: 6.2+
  • Elasticsearch 1.3.9 or higher

Install the plugin

Download the .dtp file from the release-area and install it on the Dynatrace Server

Configure the Elasticsearch Monitor

Configure the provided scheduled task for the Elasticsearch Monitor and define the hostname/port of the Elasticsearch REST interface. The default port number is 9200 unless it was changed in the Elasticsearch configuration.

Optional: Inject Agents in Elasticsearch Nodes

If you want additional metrics like CPU usages, JVM memory and other host/process level metrics you can inject the Dynatrace Agent and use the provided Agent Mapping "Elasticsearch", then some of the process/host-level Dashlets in the Dashboard will show additional information.

System profile/Dashboards

The plugin also includes a system profile 'Elasticsearch' and a Dashboard 'Elasticsearch' with some sample Dashlets.

Enhancing/Building/Development

Change it

Create matching Eclipse project files

./gradlew eclipse

Run unit tests against all supported Elasticsearch versions

./gradlew check jacocoTestReport && ./checkElasticsearchVersions.sh

This uses the Elasticsearch integration test framework to run local tests of all the plugin functionality. It is highly recommended to run these whenever you do code-changes!

Build it

./gradlew -PdynaTraceVersion=1.0.0.<x> plugin

Note: Set the version higher every time you deploy to ensure the new version is loaded in the Dynatrace Server.

Deploy it

  • The resulting .dtp file can be found in the directory plugin/dist
  • Use the plugin-dialog in the Dynatrace Client to upload the plugin to the server.
  • Note that a restart of the Server or Collector which is running the plugin might be required in some cases (e.g. when upgrading from a previous version of the plugin).

dynatrace-appmon-elasticsearch-plugin's People

Contributors

centic9 avatar ingohackl avatar slebon avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kazuparis

dynatrace-appmon-elasticsearch-plugin's Issues

Provide health-measures per index

Migrated from #1, originally submitted by user @keertisurapaneni

I have a request for the ES fastpack you are developing. Is there a way you can create measures for different indices (like index name, doc count, delete count, health, status, pri, rep, store size, etc..)
The below command will pull those values:
curl -XGET http://chdd-es01.cps.local:9200/_cat/indices?v

That way we can create a dashbord for index health. The dashboard can have tables for each measure (doc count, delete count, health, etc..)

For ex: We can have a dashlet table for measure 'document count' which would have splittings by index name.

below is the command to extract doc count for each index:
curl -XGET http://chdd-es01.cps.local:9200/_cat/indices?v | awk "{print $3, $6}"

example output:
index docs.count
unilog_04 99377
cps_documents 495303
customer_alias-20160331 160917

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.