This repository was archived by the owner on Dec 17, 2024. It is now read-only.
When does the helper function run? #556
Unanswered
YoonSungHyun-Git
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hello, helper functions are executed during metrics fetching. They are helping to gather metric information and called from SQL. You won't find it in .go files. Check the metrics definition. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I want to install helper functions such as get_psutil_cpu, get_load_average, etc. on the collection target server.
So I'm looking for the part in the pgwatch2.go source where the helper function is executed.
TryCreateMetricsFetchingHelpers seem to play that role. But I want to know the conditions at the time this is executed.
What conditions make the connectFailedSoFar variable true?
Beta Was this translation helpful? Give feedback.
All reactions