Get database SQL summary information for an application server ID
get
/serviceapi/apm.dataserver/api/v1/appservers/{appserverId}/databaseSqls
Retrieve database SQL summary information for an application server ID. For more information see @XSERVER_DATABASE.
Request
Supported Media Types
- application/json
Path Parameters
-
appserverId: string
ID of application server (see Get application servers and their JVM metrics or similar). For more information see Object ID Parameters.
Query Parameters
-
isDatabaseOverview: string
Is this in context to database overview (true or false)Default Value:
false
-
limit(optional): integer(int32)
Maximum number of elements in the result set, useful for paging [default = all, max = 1000]. For more information see Paging.
-
offset(optional): integer(int32)
Offset into result set at which to start returning data, useful for paging [default = 0].
-
orderBy(optional): string
Comma-separated list of one or more attributes by which the result set is ordered [default = null]. For more information see Sorting. Use
attribute
orattribute:asc
orattribute:desc
. Valid attributes can be found by using Get resource metadata withmetadataType
=OrderBy
andmetadataQuery
resource =/requests
-
q(optional): string
Query clause of one or more predicates to restrict the result set to those objects satisfying the clause [default = null]. For more information see Filtering. Use query like predicates, such as
attribute<=value< code>. Multiple predicates should be parenthesized and joined by
AND
orOR
. Valid attributes can be found by using Get resource metadata withmetadataType
=Filter
andmetadataQuery
resource =/requests
=value<> -
since: string
Retrieve results from start of time period, format
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
(e.g.2015-11-23T22:11:05.000Z
). For more information see Since and Until Time Range. -
until: string
Retrieve results until end of time period, format
yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
Response
Supported Media Types
- application/json
200 Response
Completed successfully, result may be null. See Status Codes for information about other possible HTTP response status codes.
Root Schema : DatabaseSqlSummary
Type:
object
Database SQL summary for an App Server (DatabaseSqlSummary)
Show Source
-
averageResponseTime(optional):
number
-
dbConnInfoId(optional):
string
-
errorCount(optional):
integer(int64)
-
linkCollection(optional):
array linkCollection
See Links to Related Resources for more information
-
maxResponseTime(optional):
number
-
minResponseTime(optional):
number
-
percImpactOnReq(optional):
number
-
queryTimeRange(optional):
object TimeRange
-
sqlConnectionInfo(optional):
string
-
sqlCount(optional):
integer(int64)
-
sqlId(optional):
string
-
sqlText(optional):
string
-
sqlTimeRangeEnd(optional):
integer(int64)
-
sqlTimeRangeStart(optional):
integer(int64)
-
warnings(optional):
array warnings
Informational or Error messages
Nested Schema : linkCollection
Type:
array
See Links to Related Resources for more information
Show Source
-
Array of:
object Link
Information about a Link to a resource
Nested Schema : TimeRange
Type:
Show Source
object
-
sinceTime(optional):
integer(int64)
Results are returned *since* this timestamp
-
timeInMinutes(optional):
integer(int64)
-
untilTime(optional):
integer(int64)
Results are returned *until* this timestamp
Nested Schema : warnings
Type:
array
Informational or Error messages
Show Source
-
Array of:
object ErrorMessage
An error message
Nested Schema : Link
Type:
object
Information about a Link to a resource
Show Source
-
baseUrl(optional):
string
The base URL for the link
-
href:
string
The href portion of the link
-
post(optional):
string
The post data of the link
-
rel:
string
The relationship name of the link
Nested Schema : ErrorMessage
Type:
object
An error message
Show Source
-
detail:
string
A detailed description of the error
-
errorType(optional):
string
Allowed Values:
[ "INFO", "WARNING", "VALIDATION", "ERROR" ]
The error type -
message:
string
The error message