Don't forget to modify the __inputs
key to match your data source setup. You should also replace the
string your.instance.here
with the instance name associated with your metrics.
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
#! /usr/bin/env python2 | |
from __future__ import print_function, with_statement, division, generators | |
import argparse | |
import collections | |
import json | |
import pcbnew | |
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
#! /usr/bin/env python3 | |
import argparse | |
import asyncio | |
import configparser | |
import datetime | |
import influxdb | |
import json | |
import pathlib | |
import requests |
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
#! /usr/bin/env python3 | |
import argparse | |
import pathlib | |
import pyshark | |
if __name__ == "__main__": | |
parser = argparse.ArgumentParser() | |
parser.add_argument("-o", "--output", type=lambda s: pathlib.Path(s).expanduser(), required=True) |
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
#! /usr/bin/env python3 | |
import argparse | |
import subprocess | |
import pathlib | |
import time | |
import scipy.stats | |
import numpy as np |
OlderNewer