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
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: datadog-cluster-agent | |
name: datadog-cluster-agent | |
namespace: datadog-agent | |
spec: | |
replicas: 1 | |
selector: |
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
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
annotations: | |
labels: | |
service: datadog-agent-cluster-worker | |
name: datadog-agent-cluster-worker | |
namespace: datadog-agent | |
spec: | |
replicas: 1 |
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
apiVersion: v1 | |
kind: Service | |
metadata: | |
annotations: | |
ad.datadoghq.com/service.check_names: '["kubernetes_state"]' | |
ad.datadoghq.com/service.init_configs: '[{}]' | |
ad.datadoghq.com/service.instances: | | |
[ | |
{ | |
"kube_state_url": "http://%%host%%:8080/metrics", |
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
init_config: null | |
instances: | |
- name: ssh | |
search_string: ['ssh', 'sshd'] | |
- name: compileservice | |
search_string: ['BaazCompileService'] | |
exact_match: False |
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
require 'statsd' | |
statsd = Statsd.new('localhost', 8125) | |
statsd.increment('test') |
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 datadog import initialize, api | |
options = { | |
'api_key': '88d30b******002b7', | |
'app_key': '1062d*****fcd6436' | |
} | |
initialize(**options) | |
print api.Monitor.get(614323) |
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
*****3408f034c33b66b6e**3766852216b" -d "from=1458932843" -d "to=1459537643" -d "query=sum:bidder.auctions{dc:us-east-1,env:prod}" | |
{"status": "ok", "res_type": "time_series", "series": [{"metric": "bidder.auctions", "attributes": {}, "display_name": "bidder.auctions", "unit": [null, null], "pointlist": [[1458928800000.0, 193700.06643029302], [1458936000000.0, 187584.4971941039], [1458943200000.0, 179921.67074591294], [1458950400000.0, 189168.31392649189], [1458957600000.0, 185298.43714321405], [1458964800000.0, 127967.69264443964], [1458972000000.0, 85550.263995682821], [1458979200000.0, 63075.88931940496], [1458986400000.0, 94326.164751410484], [1458993600000.0, 146796.29978828877], [1459000800000.0, 162132.36211417988], [1459008000000.0, 159359.43924641982], [1459015200000.0, 168369.65838811547], [1459022400000.0, 171993.62315704674], [1459029600000.0, 175991.386005193], [1459036800000.0, 187502.61624874175], [1459044000000.0, 185971.34398903325], [1459051200000.0, 132326.03248754144], [1459058400000.0, 879 |
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
Date: 2016-03-21 13:22:29 | |
Monitor query: "tcp.can_connect".over("dd-monitor").by("host","instance","port","target_host").last(6).count_by_status() | |
Result id: 3259874917469917331 | |
Message: "" | |
Dialtone Is Recent: True | |
Groups: | |
name: "host:DD-Monitor-2,instance:port_4044,port:4044,target_host:127.0.0.1" | |
status: 0 | |
message: "" | |
latest_ts: 1458566576 |
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
init_config: | |
instances: | |
- server: localhost | |
user: datadog | |
pass: qc4s5YUxPQGm43Q1jwl2EyoP | |
port: 3306 # Optional | |
# sock: /path/to/sock # Connect via Unix Socket | |
# defaults_file: my.cnf # Alternate configuration mechanism | |
tags: # Optional | |
- optional_tag1 |
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
init_config: | |
instances: | |
- server: qa-api-db01.coffdfedxjbr.us-west-2.rds.amazonaws.com | |
user: datadog | |
pass: | |
port: 3306 | |
tags: | |
- db_instance:qa-api-db01 | |
- app:rds |