db.go 781 B

123456789101112131415161718192021
  1. // Unless explicitly stated otherwise all files in this repository are licensed
  2. // under the Apache License Version 2.0.
  3. // This product includes software developed at Datadog (https://www.datadoghq.com/).
  4. // Copyright 2016 Datadog, Inc.
  5. package ext
  6. const (
  7. // DBApplication indicates the application using the database.
  8. DBApplication = "db.application"
  9. // DBName indicates the database name.
  10. DBName = "db.name"
  11. // DBType indicates the type of Database.
  12. DBType = "db.type"
  13. // DBInstance indicates the instance name of Database.
  14. DBInstance = "db.instance"
  15. // DBUser indicates the user name of Database, e.g. "readonly_user" or "reporting_user".
  16. DBUser = "db.user"
  17. // DBStatement records a database statement for the given database type.
  18. DBStatement = "db.statement"
  19. )