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
atlas { | |
core { | |
model { | |
step = 1m | |
} | |
db { | |
class = "com.netflix.atlas.core.db.MemoryDatabase" |
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
info: type=query, sql=update `Transactions` set `confirmedAt` = ? where `id` = ? | |
error: unhandled error type name=NetworkError, stack=NetworkError: noNetwork |
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
[ | |
{ | |
"name": "stats", | |
"columns": [ | |
"time", | |
"sequence_number", | |
"tx_errors", | |
"memory_usage", | |
"rx_errors", | |
"container_name", |
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
ledgerclose: &default | |
image: stellar/atlas-alert | |
restart: always | |
log_driver: syslog | |
env_file: | |
- ./smtp.env | |
- ./base.env | |
environment: | |
DESCRIPTION: "Ledger close rate has dropped < 0.1/s on the following nodes:" | |
QUERY: "name,ledger.ledger.close,:eq,stat,1_min_rate,:eq,:and,:sum,(,node,),:by,:dup,0.1,:le,alert: $(node),:legend,:vspan,60,:alpha" |
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
return { | |
send = function(ns, message) | |
print("alert - " .. ns .. ": " .. message) | |
end | |
} |
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
FROM (base) | |
MAINTAINER Mat Schaffer <mat@stellar.org> | |
ENV (foo)_VERSION 1.4.3 | |
EXPOSE (port) | |
ADD install / | |
RUN /install |
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
# -*- mode: toml -*- | |
# vi: set ft=toml : | |
[hekad] | |
base_dir = "/tmp" | |
[on_space] | |
type = "TokenSplitter" | |
delimiter = " " |
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
#!/usr/bin/env bash | |
echo a | |
echo b | |
echo ---- | |
echo c | |
echo d | |
echo ---- | |
echo |
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
~ | |
❯ curl -v https://api.stellar.org | |
* Rebuilt URL to: https://api.stellar.org/ | |
* Hostname was NOT found in DNS cache | |
* Trying 108.162.204.108... | |
* Connected to api.stellar.org (108.162.204.108) port 443 (#0) | |
* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 | |
* Server certificate: *.stellar.org | |
* Server certificate: COMODO RSA Domain Validation Secure Server CA | |
* Server certificate: COMODO RSA Certification Authority |
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
#!/bin/sh | |
aws ec2 describe-instances |\ | |
jq -r '.Reservations[].Instances[] | | |
select(.State.Code == 16) | | |
[ | |
( .Tags[] | select(.Key == "Name") | .Value ), | |
( .Tags[] | select(.Key == "cost-center") | .Value), | |
.InstanceId, | |
.InstanceType |