Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
{
"result": [
{
"payload": {
"context": "default",
"level": "DEBUG",
"logger": "org.forgerock.am.health.LivenessCheckEndpoint",
"mdc": {
"transactionId": "91e9402d-4660-4b2c-a223-f1d183cd4807-3196054"
},
@broekema41
broekema41 / mini-docker-stats-to-elasticsearch.sh
Last active March 13, 2019 10:19
The most minimalistic version of bulk pushing docker stats to elasticsearch
#!/bin/bash
# Count throttles
# The docker stats command maintaines a stream at an interval,
# we are depending on this interval with counters so that we
# do not need a cron or date detection / manipulation.
max=20
lineNumber=0
cleanMax=25
cleanNumber=0
@broekema41
broekema41 / youtubePlayer
Created December 20, 2014 14:52
Encapsulate the Youtube Iframe API with RequireJS
/**
* This module uses global declared functions to communicate with the youtube api (iframe)
* Communication to parent (implementation) modules is done with jquery trigger.
*
* basic exsample:
* <div class="video-wrapper">
* <div id="unique-id-here"
* </div>
* </div>
*