I hereby claim:
- I am masci on github.
- I am masci (https://keybase.io/masci) on keybase.
- I have a public key whose fingerprint is B8C1 E476 1E53 86F2 BAA1 5E6E EEB6 F9A0 22AA 96CA
To claim this, I am signing this object:
| # (C) Datadog, Inc. 2010-2016 | |
| # All rights reserved | |
| # Licensed under Simplified BSD License (see LICENSE) | |
| ''' | |
| As of zookeeper 3.4.0, the `mntr` admin command is provided for easy parsing of zookeeper stats. | |
| This check first parses the `stat` admin command for a version number. | |
| If the zookeeper version supports `mntr`, it is also parsed. | |
| Duplicate information is being reported by both `mntr` and `stat` to keep backwards compatability. |
| # (C) Datadog, Inc. 2010-2016 | |
| # All rights reserved | |
| # Licensed under Simplified BSD License (see LICENSE) | |
| # stdlib | |
| import time | |
| # 3p | |
| import dns.resolver |
| #!/opt/datadog-agent/embedded/bin/python | |
| import sys | |
| import requests | |
| if __name__ == "__main__": | |
| print("Using python interpreter at {}".format(sys.executable)) | |
| print("Using requests version {}".format(requests.__version__)) | |
| addr = sys.argv[1] |
| # (C) Datadog, Inc. 2010-2016 | |
| # All rights reserved | |
| # Licensed under Simplified BSD License (see LICENSE) | |
| # stdlib | |
| from datetime import datetime | |
| import _strptime # noqa | |
| import os.path | |
| from os import environ | |
| import re |
| name: datadog-agent | |
| channels: | |
| - !!python/unicode | |
| 'defaults' | |
| dependencies: | |
| - !!python/unicode | |
| 'enum34=1.1.6=py27_0' | |
| - !!python/unicode | |
| 'openssl=1.0.2j=vc9_0' | |
| - !!python/unicode |
| name: datadog-agent | |
| channels: !!python/tuple | |
| - !!python/unicode | |
| 'defaults' | |
| dependencies: | |
| - enum34=1.1.6 | |
| - openssl=1.0.2j | |
| - pip=8.1.2 | |
| - pycosat=0.6.1 | |
| - pycrypto=2.6.1 |
I hereby claim:
To claim this, I am signing this object:
| import metric_pb2 | |
| from google.protobuf.internal.encoder import _VarintBytes | |
| from google.protobuf.internal.decoder import _DecodeVarint32 | |
| import timeit | |
| import random | |
| from functools import partial | |
| import io | |
| N_RUNS = 10 |
| import boto.ses | |
| from collections import defaultdict | |
| REGION='us-east-1' | |
| AWS_KEY='YOUR_KEY' | |
| AWS_SECRET='YOUR_SECRET' | |
| def main(): | |
| cses = boto.ses.connect_to_region(REGION, aws_access_key_id=AWS_KEY, aws_secret_access_key=AWS_SECRET) | |
| send_statistics = cses.get_send_statistics() |
Get boot2docker working with nfs instead of vboxsf.
Tested on:
- Boot2Docker-cli version: v1.6.0
Git commit: 9894ae9
- Boot2Docker-cli version: v1.6.2
Git commit: cb2c3bc