Advertisement
Guest User

sqlsrver.yaml

a guest
Sep 15th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. init_config:
  2. #
  3. # By default, we only capture *some* of the metrics available in the
  4. # `sys.dm_os_performance_counters` table. You can easily add additional
  5. # metrics by following the custom_metrics structure shown below.
  6. #
  7. # In order to connect to SQL Server either enable SQL Authentication and
  8. # specify a username or password below. If you do not specify a username
  9. # or password then we will connect using integrated authentication.
  10. #
  11. # custom_metrics:
  12.  
  13. # This is a basic custom metric. There is not instance associated with
  14. # this counter.
  15. #
  16. # - name: sqlserver.clr.execution
  17. # counter_name: CLR Execution
  18.  
  19. # This counter has multiple instances associated with it and we're
  20. # choosing to only fetch the 'Cumulative execution time (ms) per second' instance.
  21. #
  22. # - name: sqlserver.exec.in_progress
  23. # counter_name: OLEDB calls
  24. # instance_name: Cumulative execution time (ms) per second
  25.  
  26. # This counter has multiple instances associated with it and we want
  27. # every instance available. We'll use the special case ALL instance
  28. # which *requires* a value for "tag_by". In this case, we'll get metrics
  29. # tagged as "db:mydb1", "db:mydb2".
  30. #
  31. # - name: sqlserver.db.commit_table_entries
  32. # counter_name: Log Flushes/sec
  33. # instance_name: ALL
  34. # tag_by: db
  35.  
  36. instances:
  37. - host: 127.0.0.1,1433
  38. username: datadog
  39. password: k075T4ysBLeXAb95pCU8iOYM
  40. # Optional, timeout in seconds for the connection and each command run
  41. # command_timeout: 30
  42. # database: my_database # Optional, defaults to "master"
  43. tags:
  44. - optional_tag
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement