Better docs for custom metrics
See original GitHub issueConfiguring custom metrics for the postgres check is quite complex, users get often confused by the usage of the %s
char in the query
field and how the descriptors
and metrics
elements are used to compose the final query.
The example in the conf.yaml.example
file could be improved adding details on how the check composes the query and what’s the actual sql code produced.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Introducing Improved BetterDocs Analytics: NEW UI & More
These metrics can give you an overall understanding of how your knowledge base is performing at any given time. View Leading, Top Performing ......
Read more >Custom metrics | Cloud Monitoring | Google Cloud
You can create custom metrics by using the Cloud Monitoring API directly. ... For information about reading metric data, see the following documents:....
Read more >Custom metrics | AppSignal documentation
With different types of metrics (gauges, counters and measurements) you can track any kind of data from your apps and tag them with...
Read more >azure-docs/how-to-add-custom-metrics.md at main - GitHub
Gather custom metrics from your IoT Edge modules in addition to the built-in metrics that the system modules provide. The built-in metrics provide...
Read more >Publishing custom metrics - Amazon CloudWatch
High resolution, with data at a granularity of one second. Metrics produced by AWS services are standard resolution by default. When you publish...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also we should point out wildcards on
LIKE
clauses breaks the string interpolation in Python and should be escaped with the%
char:Bad:
SELECT %s FROM foo WHERE bar LIKE '%baz%'
Good:SELECT %s FROM foo WHERE bar LIKE '%%baz%%'
Closing since we’re deprecating the current configuration in favor of “custom queries”, see https://github.com/DataDog/integrations-core/pull/2043