You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a python scirpt to generate metrics and send them with API datadog.
I have a 202 response from API, but I can't find my metrics on the Metrics/Summary section of Datadog console.
And when I check my script I have no errors.
root@docker-desktop:/# agent check pubsub
[{'metric': 'pubsub.authenticationBasicEnabled', 'points': True, 'tags': ['vpn_name:#config-sync']}, {'metric': 'pubsub.authenticationClientCertAllowApiProvidedUsernameEnabled', 'points': True, 'tags': ['vpn_name:#config-sync']}, {'metric': 'pubsub.authenticationClientCertCertificateMatchingRulesEnabled', 'points': False, 'tags': ['vpn_name:#config-sync']}, {'metric': 'pubsub.authenticationClientCertEnabled', 'points': True, 'tags': ['vpn_name:#config-sync']}, {'metric': 'pubsub.authenticationClientCertMaxChainDepth', 'points': 3, 'tags': ['vpn_name:#config-sync']}, {'metric': 'pubsub.txMsgRate', 'points': 0, 'tags': ['vpn_name:default', 'client_name:client']}, {'metric': 'pubsub.uptime', 'points': 341507, 'tags': ['vpn_name:default', 'client_name:client']}, {'metric': 'pubsub.webParseErrorRxDiscardedMsgCount', 'points': 0, 'tags': ['vpn_name:default', 'client_name:client']}, {'metric': 'pubsub.webRxByteCount', 'points': 0, 'tags': ['vpn_name:default', 'client_name:client']}, {'metric': 'pubsub.webRxMsgCount', 'points': 0, 'tags': ['vpn_name:default', 'client_name:client']}, {'metric': 'pubsub.webTxByteCount', 'points': 0, 'tags': ['vpn_name:default', 'client_name:client']}, {'metric': 'pubsub.webTxMsgCount', 'points': 0, 'tags': ['vpn_name:default', 'client_name:client']}]
error: OS version not found in agent metadata cache
=========
Collector
=========
Running Checks
==============
pubsub (1.0.0)
--------------
Instance ID: pubsub:5bb958f39389ba7c [OK]
Configuration Source: file:/etc/datadog-agent/conf.d/pubsub.yaml
Total Runs: 1
Metric Samples: Last Run: 0, Total: 0
Events: Last Run: 0, Total: 0
Service Checks: Last Run: 0, Total: 0
Average Execution Time : 17.425s
Last Execution Date : 2022-09-27 08:33:28 UTC (1664267608000)
Last Successful Execution Date : 2022-09-27 08:33:28 UTC (1664267608000)
Check has run only once, if some metrics are missing you can try again with --check-rate to see any other metric if available.
I run the datadog agent on a container.
do you have any ideas about the problem? and thanks in advance for your help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I created a python scirpt to generate metrics and send them with API datadog.
I have a 202 response from API, but I can't find my metrics on the Metrics/Summary section of Datadog console.
And when I check my script I have no errors.
I run the datadog agent on a container.
do you have any ideas about the problem? and thanks in advance for your help.
Best Regards.
Badr.
Beta Was this translation helpful? Give feedback.
All reactions