Skip to content

Instantly share code, notes, and snippets.

@mbeale
mbeale / java.yml
Created October 5, 2018 18:36
JAVA dashboard
---
name: Java Profiling (GC)
charts:
- name: OldGen Collections
type: line
streams:
- summary_function: average
downsample_function: average
tags:
- name: "@host"
@mbeale
mbeale / sqlserver.yaml
Last active August 29, 2019 14:15
Example sqlserver.yaml
collector:
sqlserver:
all:
# Specify instances to monitor with a comma-delimited list of connection strings.
# All connection parameters are optional.
# By default, the host is localhost, listening on default port, TCP 1433.
# for Windows, the user is the currently running AD user (SSO).
# See https://github.com/denisenkom/go-mssqldb for detailed connection
# parameters.
servers: |
@mbeale
mbeale / dashboard.yml
Last active March 10, 2020 13:27
yaml for a remote service comparison
---
name: Service Comparison
default_tag_set_id:
charts:
- name: Response Size
type: line
streams:
- group_function: average
summary_function: average
tags:
@mbeale
mbeale / read_questdb.py
Created May 6, 2020 10:48
Read a QuestDB query into a Pandas DF
import pandas as pd
import requests
def read_questdb(query, host, per_page = 10000, max_records = None):
"""
Sends a SQL query to a specified host.
Parameters
----------------