Can't add metric when adding PW_SOURCES as directory #894
Unanswered
robinportigliatti
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hello Robin. Yes, if you don't specify metrics then pgwatch uses built-in. Operations on built-in metrics are not supported. This is no way connected to how you specify sources. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Describe the bug
I can't add any metric when I provide PW_SOURCES as a directory.
It may not be a bug, but it is not clear in the doc.
In my docker-compose.yaml file I have the following for my PW_SOURCES:
And when I add any metric, I get an "unsupported operation" message.
I think we should add a litle note about it, that when we use file based configuration we are not allowed to add any custom metrics from the UI. It makes sense in my opinion but not to everyone who whishes to put their hand on pgwatch.
EDIT : Using a file works, using a folder does not.
Robin,
Beta Was this translation helpful? Give feedback.
All reactions