Describe the bug
Messy log display every 30s seconds.
[Metrics] No Prisma Cloud secret is set. Metrics collection is disabled.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Show up a way to setup prisma secret cloud.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
Windows 10
, OS X High Sierra
, Ubuntu 16.04
] prisma
CLI: [e.g. prisma/1.9.0 (darwin-x64) node-v10.4.0
]1.9.0
]graphql-cli
, prisma-binding
, graphql-yoga
, etc. if applicableAdditional context
Prisma is an awesome product. But this messy log make developing experience very bad.
What can we do for now? Any way to set a cloud secret or perhaps bypass it?
Would be good to show this message once on startup rather than it happening every 30 seconds or not show it at all. Starts to fill up logs 馃檲
Hey! we are aware of this and we will work on a resolution soon. I will get back with more accurate estimates soon.
This log should be removed, it's not really useful... 馃槙
@divyenduz Please remove it in the next patch if it's not going to be ready soon :)
Our suggested solution is to only log state changes. This means that we will write a log message only once, if the Cloud Secret is not set.
Does this alleviate your concerns?
It does, please do it 馃檹 thanks!
@do4gr Thanks for the update!
Thanks for reporting this! 馃檹 This is fixed in 1.15.3
which will be availabel in a few minutes.
Im getting this same error when trying to run prisma deploy!
is there a solution to this?
Most helpful comment
Hey! we are aware of this and we will work on a resolution soon. I will get back with more accurate estimates soon.