ListLogsMetrics
Retrieve and manage log-based metrics configurations with their definitions using JSON responses. Streamline monitoring and observability on the Datadog platform.
Instructions
Get the list of configured log-based metrics with their definitions.
Responses:
200 (Success): OK
Content-Type:
application/jsonResponse Properties:
data: A list of log-based metric objects.
Example:
{
"data": [
"unknown_type"
]
}403: Not Authorized
Content-Type:
application/jsonResponse Properties:
errors: A list of errors.
Example:
{
"errors": [
"Bad Request"
]
}429: Too many requests
Content-Type:
application/jsonResponse Properties:
errors: A list of errors.
Example:
{
"errors": [
"Bad Request"
]
}Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ListLogsMetrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | A list of log-based metric objects. |