Skip to content

Instantly share code, notes, and snippets.

View michaelajr's full-sized avatar

Michael Andrews michaelajr

View GitHub Profile
@michaelajr
michaelajr / tomcat.yaml
Created October 17, 2017 13:50
Datadog Tomcat Metrics
instances:
- host: localhost
port: JMX_PORT
user: JMX_USER
password: JMX_PASSWORD
init_config:
conf:
- include:
type: ThreadPool
@michaelajr
michaelajr / jmx.yaml
Last active October 17, 2017 13:51
Datadog JVM Memory Metrics.
init_config:
instances:
- host: localhost
port: JMX_PORT
user: JMX_USER
password: JMX_PASSWORD
conf:
- include:
@michaelajr
michaelajr / pom.xml
Last active July 27, 2023 17:06
Setup for the maven-gpg-plugin. Fix for "signing failed: Inappropriate ioctl for device".
<?xml version="1.0" encoding="UTF-8"?>
<!--
*
* pom.xml fragment for setting up GPG signing.
*
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">