GithubHelp home page GithubHelp logo

metricsbeat-demo's Introduction

Metrics of a running server (Metricbeat)

To solve this problem I would use the Elastic stack. I would deploy Metricbeat on the servers to be monitored, and configure them to ship logs to Elasticsearch, and then use Kibana for visualisation. The implementation below:

Using git, clone the repository:

git clone https://github.com/afoix/metricsbeat-demo.git

Then

cd metricsbeat-demo

to navigate into the folder. Then run:

docker-compose up

to launch the demo applications. Wait approximately 2 minutes for the applications to finish launching and for data to begin being collected.

Then browse to http://localhost:5601/ and define a Kibana index pattern of metricbeat-* with time series field @timestamp. Then go to the 'Discover' tab and you should see events that include the reported values. The requested metrics are reported as:

  • CPU Utilization: system.cpu.total.pct
  • Free memory: system.memory.free
  • Disk space: sytem.filesystem.free

In addition to viewing the raw values in the Discover tab, graphs can be set up for these values in the Visualization tab to help see how they are changing over time.

// TODO Improve the exercises with different mecamisnims. // Upgrade the version of the project

metricsbeat-demo's People

Contributors

afoix avatar

Watchers

 avatar

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.