I have created a Dynatrace sql query extension as mentioned in the Youtube Video A Practical Guide to SQL Extensions with Dynatrace - YouTube.
After creating and signing the extension, I am getting the below error in the logs.
warn
2025-01-21 14:59:36.834 SFM Event
ContentPolling finished with issues for endpoints: xxx.xx.xx:1433/master
warn2025-01-21 14:58:37.010SFM EventContentEndpoint: xxx.xx.xx:1433/master group ‘Latest data’ did not produce any metrics. Subgroups will not be polled.
Below is the source code:
name: custom:custom.db.query.2.0
version: "0.0.4"
minDynatraceVersion: "1.279.0"
author:
name: John Doe
metrics:
- key: my.sql.status.value
metadata:
displayName: My Values
unit: Count
sqlServer:
- group: Latest data
featureSet: Latest
interval:
minutes: 1
ingest: metrics
query: >
select count (id) as count
from master.chart WITH (NOLOCK) where
creation_date > DATEADD(minute, -15, GETDATE())
metrics:
- key: my.sql.status.value
value: col:count
dimensions:
- key: stat_name
value: const:latest
How can i fix it?
The connection details seem to be fine. The same query and database were used in fetching the data using custom.db.query extension. It got deprecated. that is why I have created a new extension.