- 8 bytes for a datapoints
- 200 bytes for a GTSEncoder
This file contains hidden or 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
// Macro to show outliers or strange points | |
// Usage: | |
// [GTS ... ] a list of GTS | |
// 10 an upperbound (a LONG) of the number of outliers to detect. | |
// T a BOOLEAN indicating whether to use the mean (False), or the median (True) to calculate the Z-score | |
// @FIND_OUTLIERS | |
// Use example: $gts 10 T @FIND_OUTLIERS | |
<% |
This file contains hidden or 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
[{ | |
"metric": "sys.cpu.nice", | |
"timestamp": 1346846400, | |
"value": 18, | |
"tags": { | |
"host": "web01", | |
"dc": "lga" | |
} | |
}, | |
{ |
This file contains hidden or 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
package main | |
import ( | |
"bytes" | |
"encoding/base64" | |
"encoding/csv" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"strings" |
This file contains hidden or 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
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] right after Do | |
INFO[0106] Response from Warp is a 500 | |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] parsed a JSON! yeah! | |
INFO[0106] parsed a JSON! yeah! |
This file contains hidden or 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
package io.warp10.plugins.prometheus; | |
import io.warp10.continuum.Configuration; | |
import io.warp10.continuum.TimeSource; | |
import io.warp10.continuum.store.Constants; | |
import java.io.BufferedReader; | |
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.io.PrintWriter; |
Sébastien Lambour
DEFCON16: 47 0-day ESP8266
hmac/AES/RSA...
Trust, but verify blockchain=trust N-1 code using hash (link like a transaction)
This file contains hidden or 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
[ 'data' ] EXPORT | |
NEWGTS 'cos' RENAME | |
1 1080 | |
<% DUP 'i' STORE DUP 2 * PI * 360 / COS $i * NaN NaN NaN 4 ROLL ADDVALUE %> FOR | |
[ SWAP bucketizer.last 1080 1 0 ] BUCKETIZE 'cos' STORE | |
NEWGTS 'pattern.to.detect' RENAME |
This file contains hidden or 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
{ | |
"paragraphs": [{ | |
"text": "%warpscript\nNEWGTS 'cos' RENAME\n1 720\n <% DUP 1000 * NOW - 2 * PI * 360 / COS NaN NaN NaN 4 ROLL ADDVALUE %> FOR\n\n[ SWAP bucketizer.last 720 1 0 ] BUCKETIZE 0 GET 'gts1' STORE\n\n{ 'unicorn' {\n 'gts' $gts1 \n\n 'params'\n [\n { 'key' 'key2' 'color' '#ff1010' }\n ]\n 'globalParams'\n { 'timestamps' 'true' }\n} } \n", | |
"dateUpdated": "2016-10-08T21:17:25+0000", | |
"config": { | |
"colWidth": 12, | |
"graph": { | |
"mode": "table", | |
"height": 300, | |
"optionOpen": false, |
This file contains hidden or 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
package main | |
import ( | |
"bytes" | |
"crypto/aes" | |
"crypto/cipher" | |
"crypto/hmac" | |
"crypto/rand" | |
"encoding/hex" | |
"errors" |