Git Product home page Git Product logo

learn-grafana-7.0's Introduction

Learn Grafana 7.0

Learn Grafana 7.0

This is the code repository for Learn Grafana 7.0, published by Packt.

A beginner's guide to getting well versed in analytics, interactive dashboards, and monitoring

What is this book about?

Grafana is an open-source analytical platform used to analyze and monitoring time-series data. This beginner's guide will help you get to grips with Grafana's new features for querying, visualizing, and exploring metrics and logs no matter where they are stored.

This book covers the following exciting features:

  • Find out how to visualize data using Grafana
  • Understand how to work with the major components of the Graph panel
  • Explore mixed data sources, query inspector, and time interval settings
  • Discover advanced dashboard features such as annotations, templating with variables, dashboard linking, and dashboard sharing techniques
  • Connect user authentication to Google, GitHub, and a variety of external services

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders.

The code will look like the following:

def main():
    logging.basicConfig(level=logging.INFO)

Following is what you need for this book: This book is for business intelligence developers, business analysts, data analysts, and anyone interested in performing time-series data analysis and monitoring using Grafana. Those looking to create and share interactive dashboards or looking to get up to speed with the latest features of Grafana will also find this book useful. Although no prior knowledge of Grafana is required, basic knowledge of data visualization and some experience in Python programming will help you understand the concepts covered in the book.

With the following software and hardware list you can run all code files present in the book (Chapter 1-14).

Software and Hardware List

Software required OS required
Grafana Windows 10 Pro, Linux, Docker
Docker Windows 10 Pro, or Linux
Loki/Promtail Runs in Docker
Prometheus Runs in Docker
InfluxDB Runs in Docker
Logstash Runs in Docker
Elasticsearch Runs in Docker
OpenLDAP Runs in Docker

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it

Errata

Chapter 06, Page 133 should read:

  1. Build the Python container to run our scripts:
    $ docker build --pull --tag python/ch6 .
  1. ...
    $ docker run --rm --network=host -v "$(PWD):/usr/src/app" \
             --name python python/ch6 bin/weather.py \
             --output data/wx.txt \
             --stations KSFO,KDEN,KSTL,KJFK
  1. ...
    $ docker run --rm --network=host -v "$(PWD):/usr/src/app" \
             --name python python/ch6 bin/weather.py \
             --input data/wx.txt \
             --db weatherdb

Chapter 06, page 157 should read:

Adding load_eq_data()

The only significant differences in our file load subroutine, called load_eq_data() is the encoding of the data to accommodate Unicode (UTF-8) characters:

    data = input_file.read().encode('utf-8')

and the specification of time precision in milliseconds (ms):

response = requests.post(url, params=dict(db=db_name, precision="ms"),
data=data)

Chapter 08, page 204 should include additional lines:

To load the data into ElasticSearch, run the following command:

% docker-compose run logstash logstash < data/Current_FY_Cases.csv

For Windows PowerShell, the command is:

Get-Content .\data\Current_FY_Cases.csv | docker-compose run logstash logstash

Related products

Get to Know the Author

Eric Salituro is currently a senior software engineer with the enterprise data and analytics platform team at Zendesk. He has an IT career that spans more than 30 years, over 20 of which were spent in the motion picture industry working as a pipeline technical director and software developer for innovative and creative studios such as DreamWorks, Digital Domain, and Pixar. Before moving to Zendesk, he worked at Pixar, helping to manage and maintain their production render farm as a senior software developer. Among his accomplishments is the development of a Python API toolkit for Grafana aimed at streamlining the creation of rendering metrics dashboards.

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781838826581

learn-grafana-7.0's People

Contributors

utkarsha-packt avatar esalituro avatar packt-itservice avatar dependabot[bot] avatar yogineemarathe avatar packtutkarshr avatar saurabhk710 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.