0d16b32190
The __future__ module [1] was used in this context to ensure compatibility between python 2 and python 3. We previously dropped the support of python 2.7 [2] and now we only support python 3 so we don't need to continue to use this module and the imports listed below. Imports commonly used and their related PEPs: - `division` is related to PEP 238 [3] - `print_function` is related to PEP 3105 [4] - `unicode_literals` is related to PEP 3112 [5] - `with_statement` is related to PEP 343 [6] - `absolute_import` is related to PEP 328 [7] [1] https://docs.python.org/3/library/__future__.html [2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html [3] https://www.python.org/dev/peps/pep-0238 [4] https://www.python.org/dev/peps/pep-3105 [5] https://www.python.org/dev/peps/pep-3112 [6] https://www.python.org/dev/peps/pep-0343 [7] https://www.python.org/dev/peps/pep-0328 Change-Id: I2471123ec7f3ea0b872f5054d6160bcd88a104b0 |
||
---|---|---|
conf.d | ||
docker | ||
docs | ||
monasca_agent | ||
monasca_setup | ||
packaging | ||
playbooks | ||
releasenotes/notes | ||
tests | ||
tests_to_fix | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
agent.yaml.template | ||
bindep.txt | ||
mkdocs.yml | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Introduction
The Monasca Agent is a modern Python monitoring agent for gathering metrics and sending them to the Monasca API. The Agent supports collecting metrics from a variety of sources as follows:
- System metrics
-
such as cpu and memory utilization.
- Prometheus
-
The Monasca Agent supports scraping metrics from endpoints provided by Prometheus exporters or Prometheus instrumented applications.
- Statsd
-
The Monasca Agent supports an integrated StatsD daemon which can be used by applications via a statsd client library.
- OpenStack metrics
-
The agent can perform checks on OpenStack processes.
- Host alive
-
The Monasca Agent can perform active checks on a host to determine if it is alive using ping (ICMP) or SSH.
- Process checks
-
The Monasca Agent can check a process and return several metrics on the process such as a number of instances, memory, io and threads.
- Http Endpoint checks
-
The Monasca Agent can perform active checks on http endpoints by sending an HTTP request to an API.
- Service checks
-
The Monasca Agent can check services such as MySQL, RabbitMQ, and many more.
- Nagios plugins
-
The Monasca Agent can run Nagios plugins and send the status code returned by the plugin as a metric to the Monasca API.
The Agent can automatically detect and setup checks on certain processes and resources.
The Agent is extensible through the configuration of additional plugins, written in Python.
Detailed Documentation
For an introduction to the Monasca Agent, including a complete list of the metrics that the Agent supports, see the "Agent" detailed documentation.
The Agent is extensible through the configuration of additional check and setup plugins, written in Python. See the "Agent Customizations" detailed documentation.
- Agent
-
https://opendev.org/openstack/monasca-agent/src/branch/master/docs/Agent.md
- Agent Customizations
-
https://opendev.org/openstack/monasca-agent/src/branch/master/docs/Customizations.md
- Monasca Metrics
-
https://opendev.org/openstack/monasca-agent/src/branch/master/docs/MonascaMetrics.md
- Agent Plugin details
-
https://opendev.org/openstack/monasca-agent/src/branch/master/docs/Plugins.md
- License: Simplified BSD License
- Source: https://opendev.org/openstack/monasca-agent
- Bugs: https://storyboard.openstack.org/#!/project/861 (please use bug tag)