panto

module
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2020 License: Apache-2.0

README

Panto

Develop build status coverage report

Master build status coverage report

Panto is a platform for monitoring your infrastructure, servers and applications in production. Agents collect metrics about your systems in real time, and report their health and performance to the server. The server stores metrics, evaluates the state according to user-defined rules, and, in case the state is considered dysfunctional, dispatches alerts to your teams.

TL;DR

You want to try Panto like, now? Here is the quickest way:

$ curl -o docker-compose.yml 'https://gitlab.com/pantomath-io/panto/raw/master/docker/docker-compose.yml?inline=false'
$ docker-compose up
$ docker exec -it panto-server /usr/bin/panto-ctl init data

Downloading Panto

There are plenty of way to install Panto in your environment, check out the detailed documentation for your prefered methods.

The recommended setup to run a panto-sever instance is to use the Docker Compose version. After making sure docker-compose is installed, download the docker-compose.yml file to your computer, you can edit it to adapt the configuration to your environment.

Type:

$ docker-compose pull

from the same directory as the docker-compose.yml file, and you'll get the very latest stable version of Panto, ready to use.

Building Panto from source

After installing the prerequisites, clone the repository and run make from the repository root. The built executables will be in the bin directory. The built web client will be in the web/dist directory.

git clone https://gitlab.com/pantomath-io/panto
cd panto
make

Detailed build instructions can be found here.

Running Panto

Server

Now the docker-compose.yml is confiugred, type:

$ docker-compose up

When running for the first time, you need to initialize the persistent database. Use the following command, once the docker compose is up:

$ docker exec -it panto-server /usr/bin/panto-ctl init data

You will be asked for your Organization, and to create your first User.

⚠️ Note: The panto-agent container of this docker-compose might not be working until you configured it.

To learn more about configuration options, use panto --help or see the documentation.

Web client

The web client is a static web application that runs in the browser. The client is the main frontend to display metrics, create targets, configure alerts, etc. Panto uses Caddy to serve the files. This part is included in the docker-compose setup, so you don't have to run it manually, but you will need to configure a proxy.

To learn more about setup and configuration options, see the documentation.

Agent

The Panto agent should be run from the targets you want to monitor. It is part of the docker-compose setup, but needs to be configured before it is launched. Follow the Agent initialization procedure to properly start your Agent

Detailed configuration file and command-line options can be found here

Docker

Docker images are available for the panto agent and server. See the Panto registry. Detailed documentation here.

Documentation

See the official documentation site.

License

Copyright 2017-19 Pantomath SAS

The Panto source code is licensed under the Apache License, Version 2.0.

By contributing to Pantomath SAS, You accept and agree to the following terms and conditions for Your present and future Contributions submitted to Pantomath SAS. Except for the license granted herein to Pantomath SAS and recipients of software distributed by Pantomath SAS, You reserve all right, title, and interest in and to Your Contributions. All Contributions are subject to the following Developer Certificate of Origin and License terms.

All Documentation content that resides under the docs directory of this repository is licensed under Creative Commons: CC BY-SA 4.0.

Directories

Path Synopsis
probe
Package probe contains everything to register, schedule and run probes, as well as the default set of probes bundled into Panto <TODO> Conceptual documentation about the scheduler <TODO> Conceptual documentation about the registry
Package probe contains everything to register, schedule and run probes, as well as the default set of probes bundled into Panto <TODO> Conceptual documentation about the scheduler <TODO> Conceptual documentation about the registry
Package api is a reverse proxy.
Package api is a reverse proxy.
cmd
panto-ctl/ask
Package ask collects information from the user through the command line in a Q&A style.
Package ask collects information from the user through the command line in a Q&A style.
data
docs
site-docs/generate_config_doc
This is a helper to turn configurations into markdown for the documentation
This is a helper to turn configurations into markdown for the documentation
Package server manages the gRPC service and defines the protobuf services and message
Package server manages the gRPC service and defines the protobuf services and message
datapipe
Package datapipe handles the processing of results from the agents' probes.
Package datapipe handles the processing of results from the agents' probes.
dbconf
Package dbconf manages everything related to the SQL database.
Package dbconf manages everything related to the SQL database.
services
Package services manages "service discovery".
Package services manages "service discovery".
tsdb
Package tsdb manages everything related to the time-series database.
Package tsdb manages everything related to the time-series database.
Package util contains utility functions for Panto.
Package util contains utility functions for Panto.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL