Base url is "http://localhost:9092"
POST http://localhost:9092/api/v1/replay?name=cpu_alert&id={record id}&clock=fast&rec-time=false
rec-time - mock the times
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../google-map/google-map-directions.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../google-map/google-map-search.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |
package main | |
import ( | |
"code.google.com/p/gopacket" | |
"code.google.com/p/gopacket/pcap" | |
"fmt" | |
) | |
func CreateInactiveHandle(pcapConfiguration PcapConfiguraiton) (*pcap.InactiveHandle, error) { |
#!/bin/sh | |
<<DOCUMENTATION | |
Pack | |
----- | |
The idea for pack is to use devdocs in offline environment (without internet :( ) | |
and in windows. | |
Pack steps: | |
1. We use the latest ruby installation available in windowws |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<link href="../build/nv.d3.css" rel="stylesheet" type="text/css"> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.2/d3.min.js" charset="utf-8"></script> | |
<script src="../build/nv.d3.js"></script> | |
<style> | |
text { |
# Every | |
Write a function that accepts two arguments: | |
1. duration in milliseconds | |
2. array of objects that looks like this - { time: Date, value: int } | |
That returns an array of array of objects -> Array<Array<object>> whom partitioned by duration. | |
## Example |
Base url is "http://localhost:9092"
POST http://localhost:9092/api/v1/replay?name=cpu_alert&id={record id}&clock=fast&rec-time=false
rec-time - mock the times
{"id":"window_data:nil","message":"window_data:nil is CRITICAL","details":"{\u0026#34;Name\u0026#34;:\u0026#34;window_data\u0026#34;,\u0026#34;TaskName\u0026#34;:\u0026#34;window_bug\u0026#34;,\u0026#34;Group\u0026#34;:\u0026#34;nil\u0026#34;,\u0026#34;Tags\u0026#34;:{},\u0026#34;ID\u0026#34;:\u0026#34;window_data:nil\u0026#34;,\u0026#34;Fields\u0026#34;:{\u0026#34;count\u0026#34;:5},\u0026#34;Level\u0026#34;:\u0026#34;CRITICAL\u0026#34;,\u0026#34;Message\u0026#34;:\u0026#34;window_data:nil is CRITICAL\u0026#34;}","time":"2016-02-16T18:27:50Z","level":"CRITICAL","data":{"series":[{"name":"window_data","columns":["time","count"],"values":[["2016-02-16T18:27:50Z",5]]}]}} | |
{"id":"window_data:nil","message":"window_data:nil is CRITICAL","details":"{\u0026#34;Name\u0026#34;:\u0026#34;window_data\u0026#34;,\u0026#34;TaskName\u0026#34;:\u0026#34;window_bug\u0026#34;,\u0026#34;Group\u0026#34;:\u0026#34;nil\u0026#34;,\u0026#34;Tags\u0026#34;:{},\u0026#34;ID\u0026#34;:\u0026#34;window_data:nil\u0026#34;,\u0026#34;Fields |
{"id":"window_data:nil","message":"window_data:nil is CRITICAL","details":"{\u0026#34;Name\u0026#34;:\u0026#34;window_data\u0026#34;,\u0026#34;TaskName\u0026#34;:\u0026#34;window_bug\u0026#34;,\u0026#34;Group\u0026#34;:\u0026#34;nil\u0026#34;,\u0026#34;Tags\u0026#34;:{},\u0026#34;ID\u0026#34;:\u0026#34;window_data:nil\u0026#34;,\u0026#34;Fields\u0026#34;:{\u0026#34;count\u0026#34;:1},\u0026#34;Level\u0026#34;:\u0026#34;CRITICAL\u0026#34;,\u0026#34;Message\u0026#34;:\u0026#34;window_data:nil is CRITICAL\u0026#34;}","time":"2016-02-18T18:16:09Z","level":"CRITICAL","data":{"series":[{"name":"window_data","columns":["time","count"],"values":[["2016-02-18T18:16:09Z",1]]}]}}{"id":"window_data:nil","message":"window_data:nil is CRITICAL","details":"{\u0026#34;Name\u0026#34;:\u0026#34;window_data\u0026#34;,\u0026#34;TaskName\u0026#34;:\u0026#34;window_bug\u0026#34;,\u0026#34;Group\u0026#34;:\u0026#34;nil\u0026#34;,\u0026#34;Tags\u0026#34;:{},\u0026#34;ID\u0026#34;:\u0026#34;window_data:nil\u0026#34;,\u0026#34;Fields\ |