This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# SIGSEGV (0xb) at pc=0x00007f8fff205e30, pid=23572, tid=140255540520704 | |
# | |
# JRE version: 6.0_24-b24 | |
# Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops) | |
# Derivative: IcedTea6 1.11.5 | |
# Distribution: Ubuntu 12.04 LTS, package 6b24-1.11.5-0ubuntu1~12.04.1 | |
# Problematic frame: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instances: | |
- host: localhost | |
port: 7199 | |
name: cassandra_instance | |
init_config: | |
conf: | |
- include: | |
domain: org.apache.cassandra.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instances: | |
- host: localhost | |
port: 7199 | |
name: cassandra_instance | |
init_config: | |
conf: | |
- include: | |
domain: org.apache.cassandra.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instances: | |
- host: localhost | |
port: 1099 | |
# user: username | |
# password: password | |
name: localhost | |
# java_bin_path: /usr/bin/java | |
# List of metrics to be collected by the integration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init_config: | |
instances: | |
- host: m1.pg | |
port: 7999 | |
name: jmx_instance_m1.pg | |
user: username | |
password: password | |
java_bin_path: /usr/bin/java | |
conf: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import timeit | |
metric_series_count = 3 | |
test_data = [2.10723804e+03,1.26780400e+04, 1.47227500e+04, 1.62780752e+04, 1.71822812e+04 , 1.64260996e+04 , 2.72706328e+04 , 1.57876689e+04, 1.47809004e+04 , 1.43575615e+04 , 1.55860273e+04 , 1.55252500e+04, 1.70042930e+04 , 1.54317500e+04 , 2.22643242e+04 , 1.54446250e+04, 1.45285752e+04 , 1.52491279e+04 , 1.42818574e+04 , 1.85883770e+04, 1.90738242e+04 , 2.76426113e+04 , 1.51628740e+04 , 1.66276758e+04, 2.91944414e+04 , 1.79294004e+04 , 1.85493008e+04 , 5.05975156e+04, 5.97016328e+04 , 1.36698350e+04 , 1.75005508e+04 , 1.48950996e+04, 2.98080750e+05 , 1.28499795e+04 , 2.33493750e+04 , 1.87940508e+04, 3.70170000e+04 , 1.99230508e+04 , 1.57387549e+04 , 1.64653398e+04, 1.52441250e+04 , 1.71265371e+04 , 1.45260479e+04 , 2.36466992e+04, 1.49441504e+04 , 1.56413750e+04 , 1.53727500e+04 , 1.65995508e+04, 2.31307363e+04 , 3.10398047e+04 , 2.02409023e+04 , 2.81140957e+04, 2.01719004e+04 , 1.7934150 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init_config: | |
instances: | |
# Each Event Log instance lets you define the type of events you want to | |
# match and how to tag those events. You can use the following filters: | |
# | |
# - type: Warning, Error, Information | |
# | |
# - log_file: Application, System, Setup, Security | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib2 | |
import urlparse | |
from checks import AgentCheck | |
from util import json | |
QUEUE_ATTRIBUTES = [ | |
'active_consumers', | |
'consumers', | |
'memory', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instances: | |
# - host: localhost | |
# port: 7199 | |
# user: username | |
# password: password | |
# name: tomcat_instance | |
# #java_bin_path: /path/to/java #Optional, should be set if the agent cannot find your java executable | |
# #trust_store_path: /path/to/trustStore.jks # Optional, should be set if ssl is enabled | |
# #trust_store_password: password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import simplejson as json | |
content = """{ | |
"glossary": { | |
"title": "example glossary", | |
"GlossDiv": { | |
"title": "S", | |
"GlossList": { | |
"GlossEntry": { | |
"ID": "SGML", |
OlderNewer