db_size

command module
v0.0.0-...-be347a3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

README

db_size

db_size is a beat based on metricbeat which was generated with metricbeat/metricset generator.

Getting started

To get started run the following command. This command should only be run once.

make setup

It will ask you for the module and metricset name. Insert the name accordingly.

To compile your beat run make. Then you can run the following command to see the first output:

db_size -e -d "*"

In case further modules are metricsets should be added, run:

make create-metricset

After updates to the fields or config files, always run

make collect

This updates all fields and docs with the most recent changes.

Use vendoring

We recommend to use vendoring for your beat. This means the dependencies are put into your beat folder. The beats team currently uses govendor for vendoring.

govendor init
govendor update +e

This will create a directory vendor inside your repository. To make sure all dependencies for the Makefile commands are loaded from the vendor directory, find the following line in your Makefile:

ES_BEATS=${GOPATH}/src/github.com/elastic/beats

Replace it with:

ES_BEATS=./vendor/github.com/elastic/beats

Versioning

We recommend to version your repository with git and make it available on Github so others can also use your project. The initialise the git repository and add the first commits, you can use the following commands:

git init
git add README.md CONTRIBUTING.md
git commit -m "Initial commit"
git add LICENSE
git commit -m "Add the LICENSE"
git add .gitignore
git commit -m "Add git settings"
git add .
git reset -- .travis.yml
git commit -m "Add db_size"

Packaging

The beat frameworks provides tools to crosscompile and package your beat for different platforms. This requires docker and vendoring as described above. To build packages of your beat, run the following command:

make release

This will fetch and create all images required for the build process. The hole process to finish can take several minutes.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
RodinUA
metricbeat
Package metricbeat contains the entrypoint to Metricbeat which is a lightweight data shipper for operating system and service metrics.
Package metricbeat contains the entrypoint to Metricbeat which is a lightweight data shipper for operating system and service metrics.
metricbeat/beater
Package beater provides the implementation of the libbeat Beater interface for Metricbeat and functions for running Metricbeat Modules on their own.
Package beater provides the implementation of the libbeat Beater interface for Metricbeat and functions for running Metricbeat Modules on their own.
metricbeat/include
Package include imports all Module and MetricSet packages so that they register their factories with the global registry.
Package include imports all Module and MetricSet packages so that they register their factories with the global registry.
metricbeat/mb
Package mb (short for Metricbeat) contains the public interfaces that are used to implement Modules and their associated MetricSets.
Package mb (short for Metricbeat) contains the public interfaces that are used to implement Modules and their associated MetricSets.
metricbeat/mb/module
Package module contains the low-level utilities for running Metricbeat modules and metricsets.
Package module contains the low-level utilities for running Metricbeat modules and metricsets.
metricbeat/mb/testing
Package testing provides utility functions for testing Module and MetricSet implementations.
Package testing provides utility functions for testing Module and MetricSet implementations.
metricbeat/module
Package module contains Metricbeat modules and their MetricSet implementations.
Package module contains Metricbeat modules and their MetricSet implementations.
metricbeat/module/aerospike
Package aerospike is a Metricbeat module that contains MetricSets.
Package aerospike is a Metricbeat module that contains MetricSets.
metricbeat/module/apache
Package apache is Metricbeat module for the Apache HTTPD server.
Package apache is Metricbeat module for the Apache HTTPD server.
metricbeat/module/apache/status
Package status reads Apache HTTPD server status from the mod_status module.
Package status reads Apache HTTPD server status from the mod_status module.
metricbeat/module/ceph
Package ceph is a Metricbeat module that contains MetricSets.
Package ceph is a Metricbeat module that contains MetricSets.
metricbeat/module/couchbase
Package couchbase is a Metricbeat module that contains MetricSets.
Package couchbase is a Metricbeat module that contains MetricSets.
metricbeat/module/couchdb
Package couchdb is a Metricbeat module that contains MetricSets.
Package couchdb is a Metricbeat module that contains MetricSets.
metricbeat/module/docker
Package docker is a Metricbeat module that contains MetricSets.
Package docker is a Metricbeat module that contains MetricSets.
metricbeat/module/dropwizard
Package dropwizard is a Metricbeat module that contains MetricSets.
Package dropwizard is a Metricbeat module that contains MetricSets.
metricbeat/module/elasticsearch
Package elasticsearch is a Metricbeat module that contains MetricSets.
Package elasticsearch is a Metricbeat module that contains MetricSets.
metricbeat/module/envoyproxy
Package envoyproxy is a Metricbeat module that contains MetricSets.
Package envoyproxy is a Metricbeat module that contains MetricSets.
metricbeat/module/etcd
Package etcd is a Metricbeat module that contains MetricSets.
Package etcd is a Metricbeat module that contains MetricSets.
metricbeat/module/etcd/metrics
Package metrics contain Etcd V3 metrics endpoint fetching and reporting
Package metrics contain Etcd V3 metrics endpoint fetching and reporting
metricbeat/module/golang
Package golang is a Metricbeat module that contains MetricSets.
Package golang is a Metricbeat module that contains MetricSets.
metricbeat/module/graphite
Package graphite is a Metricbeat module that contains MetricSets.
Package graphite is a Metricbeat module that contains MetricSets.
metricbeat/module/haproxy
Package haproxy is a Metricbeat module that contains MetricSets.
Package haproxy is a Metricbeat module that contains MetricSets.
metricbeat/module/http
Package http is a Metricbeat module that contains MetricSets.
Package http is a Metricbeat module that contains MetricSets.
metricbeat/module/jolokia
Package jolokia is a Metricbeat module that contains MetricSets.
Package jolokia is a Metricbeat module that contains MetricSets.
metricbeat/module/kafka
Package kafka is a Metricbeat module that contains MetricSets.
Package kafka is a Metricbeat module that contains MetricSets.
metricbeat/module/kibana
Package kibana is a Metricbeat module that contains MetricSets.
Package kibana is a Metricbeat module that contains MetricSets.
metricbeat/module/kubernetes
Package kubernetes is a Metricbeat module that contains MetricSets.
Package kubernetes is a Metricbeat module that contains MetricSets.
metricbeat/module/kvm
Package kvm is a Metricbeat module that contains MetricSets.
Package kvm is a Metricbeat module that contains MetricSets.
metricbeat/module/logstash
Package logstash is a Metricbeat module that contains MetricSets.
Package logstash is a Metricbeat module that contains MetricSets.
metricbeat/module/memcached
Package memcached is a Metricbeat module that contains MetricSets.
Package memcached is a Metricbeat module that contains MetricSets.
metricbeat/module/mongodb
Package mongodb is a Metricbeat module that contains MetricSets.
Package mongodb is a Metricbeat module that contains MetricSets.
metricbeat/module/munin
Package munin is a Metricbeat module that contains MetricSets.
Package munin is a Metricbeat module that contains MetricSets.
metricbeat/module/mysql
Package mysql is Metricbeat module for MySQL server.
Package mysql is Metricbeat module for MySQL server.
metricbeat/module/mysql/galera_status
Package galera_status fetches MySQL Galera server status metrics.
Package galera_status fetches MySQL Galera server status metrics.
metricbeat/module/mysql/status
Package status fetches MySQL server status metrics.
Package status fetches MySQL server status metrics.
metricbeat/module/nats
Package nats is a Metricbeat module that contains MetricSets.
Package nats is a Metricbeat module that contains MetricSets.
metricbeat/module/nginx
Package nginx is Metricbeat module for the Nginx reverse proxy.
Package nginx is Metricbeat module for the Nginx reverse proxy.
metricbeat/module/nginx/stubstatus
Package stubstatus reads server status from nginx host under /server-status, ngx_http_stub_status_module is required.
Package stubstatus reads server status from nginx host under /server-status, ngx_http_stub_status_module is required.
metricbeat/module/php_fpm
Package php_fpm is a Metricbeat module that contains MetricSets.
Package php_fpm is a Metricbeat module that contains MetricSets.
metricbeat/module/postgresql
Package postgresql is a Metricbeat module that contains MetricSets.
Package postgresql is a Metricbeat module that contains MetricSets.
metricbeat/module/prometheus
Package prometheus is a Metricbeat module that contains MetricSets.
Package prometheus is a Metricbeat module that contains MetricSets.
metricbeat/module/rabbitmq
Package rabbitmq is a Metricbeat module that contains MetricSets.
Package rabbitmq is a Metricbeat module that contains MetricSets.
metricbeat/module/redis
Package redis contains shared Redis functionality for the metric sets
Package redis contains shared Redis functionality for the metric sets
metricbeat/module/redis/info
Package info fetches Redis server information and statistics using the Redis INFO command.
Package info fetches Redis server information and statistics using the Redis INFO command.
metricbeat/module/system
Package system is a Metricbeat module that contains MetricSets that collect system level information like CPU and memory stats.
Package system is a Metricbeat module that contains MetricSets that collect system level information like CPU and memory stats.
metricbeat/module/system/core
Package core collects cpu core metrics from the host OS.
Package core collects cpu core metrics from the host OS.
metricbeat/module/system/cpu
Package cpu collects CPU metrics from the host OS.
Package cpu collects CPU metrics from the host OS.
metricbeat/module/system/diskio
Package diskio fetches disk IO metrics from the OS.
Package diskio fetches disk IO metrics from the OS.
metricbeat/module/system/filesystem
Package filesystem provides a MetricSet implementation that fetches metrics for each of the mounted file systems.
Package filesystem provides a MetricSet implementation that fetches metrics for each of the mounted file systems.
metricbeat/module/system/fsstat
Package fsstat provides a MetricSet for fetching aggregated filesystem stats.
Package fsstat provides a MetricSet for fetching aggregated filesystem stats.
metricbeat/module/system/load
Package load collects system CPU load metrics from the host OS.
Package load collects system CPU load metrics from the host OS.
metricbeat/module/system/memory
Package memory collects memory metrics from the host OS.
Package memory collects memory metrics from the host OS.
metricbeat/module/system/network
Package network provides network IO metrics from the OS.
Package network provides network IO metrics from the OS.
metricbeat/module/system/process
Package process collects metrics about the running processes using information from the operating system.
Package process collects metrics about the running processes using information from the operating system.
metricbeat/module/system/process_summary
Package process_summary collects high level summary metrics about the running processes.
Package process_summary collects high level summary metrics about the running processes.
metricbeat/module/system/socket
Package socket captures active sockets and the processes that own them.
Package socket captures active sockets and the processes that own them.
metricbeat/module/system/uptime
Package uptime reports the system's uptime.
Package uptime reports the system's uptime.
metricbeat/module/traefik
Package traefik is a Metricbeat module that contains MetricSets.
Package traefik is a Metricbeat module that contains MetricSets.
metricbeat/module/uwsgi
Package uwsgi is a Metricbeat module that contains MetricSets.
Package uwsgi is a Metricbeat module that contains MetricSets.
metricbeat/module/vsphere
Package vsphere is a Metricbeat module that contains MetricSets.
Package vsphere is a Metricbeat module that contains MetricSets.
metricbeat/module/windows
Package windows is a Metricbeat module that contains MetricSets.
Package windows is a Metricbeat module that contains MetricSets.
metricbeat/module/windows/perfmon
Package perfmon implements a Metricbeat metricset for reading Windows performance counters.
Package perfmon implements a Metricbeat metricset for reading Windows performance counters.
metricbeat/module/windows/service
Package service implements a Metricbeat metricset for reading Windows Services
Package service implements a Metricbeat metricset for reading Windows Services
metricbeat/module/zookeeper
Package zookeeper is a Metricbeat module for ZooKeeper servers.
Package zookeeper is a Metricbeat module for ZooKeeper servers.
metricbeat/module/zookeeper/mntr
Package mntr fetches metrics from ZooKeeper by using the mntr command which was added to ZooKeeper in version 3.4.0.
Package mntr fetches metrics from ZooKeeper by using the mntr command which was added to ZooKeeper in version 3.4.0.
metricbeat/module/zookeeper/server
Package server fetches metrics from ZooKeeper by using the srvr command
Package server fetches metrics from ZooKeeper by using the srvr command
Package include imports all Module and MetricSet packages so that they register their factories with the global registry.
Package include imports all Module and MetricSet packages so that they register their factories with the global registry.
module
db_size
Package db_size is a Metricbeat module that contains MetricSets.
Package db_size is a Metricbeat module that contains MetricSets.

Jump to

Keyboard shortcuts

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