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
{ | |
"@timestamp":"2016-08-13T15:43:28.826+1000", | |
"@version":1, | |
"message":"greeting.GET=mean[0.25] stddev[1.0897247358851685] min[0] max[5] count[20]", | |
"logger_name":"org.perf4j.TimingLogger", | |
"thread_name":"perf4j-async-stats-appender-sink-perf-summary", | |
"level":"INFO", | |
"level_value":20000, | |
"perf4j_tag":"greeting.GET", | |
"perf4j_max":5, |
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
AWSEBCWLGreetingMeanMetricFilter : | |
Type : "AWS::Logs::MetricFilter" | |
Properties : | |
LogGroupName: { "Ref" : "AWSEBCloudWatchLogsAppLogGroup" } | |
FilterPattern : '{ $.perf4j_tag = "greeting.GET"}' | |
MetricTransformations : | |
- MetricValue : $.perf4j_mean | |
MetricNamespace: {"Fn::Join":["/", ["elastic-beanstalk", {"Ref":"AWSEBEnvironmentName"}]]} | |
MetricName : greeting-mean |
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
//Traditional imperative pull based | |
window.setInterval(() => { | |
const tweets = getNewTweets(); | |
for(let tweet of tweets){ | |
if(!tweet.message.contains("Greetings!")) continue; | |
getUserAvatar(tweet.user) | |
.then(avatar => { | |
const $avatar = $(`<img />`); | |
$avatar.attr('src', avatar.url); |
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
{ | |
"annotations": { | |
"list": [] | |
}, | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 0, | |
"hideControls": false, | |
"id": null, | |
"links": [], |
OlderNewer