Public | Automated Build

Last pushed: 4 hours ago
Short Description
This Docker Image contains [SPM](https://sematext.com/spm) Client for Sematext Cloud.
Full Description

SPM Client

This Docker Image contains SPM Client.

SPM Client is an Application Monitoring agent for the following Applications:

Solr & SolrCloud, Elasticsearch, Apache Spark, Apache Storm, Apache
Kafka, Apache Cassandra, Akka, HBase, Hadoop, Apache2, Nginx, Nginx
Plus, Tomcat, HAProxy, Redis, Memcached, MySQL and MariaDB, AWS EC2,
ELB, EBS, RDS, JVM / Java and Scala Applications, ...

Please note: to monitor Docker, CoreOS, RancherOS, etc. themselves use sematext/sematext-agent-docker

Also, monitoring of Node.js for Express, Hapi.js, Koa Apps, etc. is not included in this image - use sematext/spm-agent-nodejs for that.
...

Installation

# multiple Apps can be configured using ";" as separator
# SPM_CONFIG="YOUR_SPM_CONFIG_STRINGS"
# Elasticsearch Example
export SPM_CONFIG="YOUR_SPM_TOKEN es javaagent jvmname:ES1"
docker run --name spm-client --restart=always -v /var/run/docker.sock:/var/run/docker.sock -e $SPM_CONFIG sematext/spm-client

To change the metrics and tracing receiver URLs for Sematext Enterprise use following environment variables:

METRICS_RECEIVER=http://SEMATEXT-SERVER-IP:8449/spm-receiver
TRACING_RECEIVER=http://SEMATEXT-SERVER-IP:8089/spm-tracing-receiver/v2

Examples

Parameters:

  • SPM_CONFIG - Multiple App configurations for spm-client-setup-conf.sh separated by ";".
  • SPM_CONFIG_IFS - A custom config separator in cases where ";" is used as part of a config (like HaProxy stats url)

Any Linux command can be executed to modify the configuration using "docker exec -it spm-client your_linux_command" :

# An alternative way to configure Elasticsearch to set  e.g. jvmname 'ES1'
docker exec -it spm-client /bin/bash /opt/spm/bin/spm-setup-conf.sh YOUR_SPM_TOKEN es javaagent jvmname:ES1
# persist config changes
docker commit spm-client

Support

  • Follow us on Twitter @sematext
  • E-Mail support: support@sematext.com
  • Support Chat
Docker Pull Command
Owner
sematext
Source Repository