Prisma1: [Metrics] No Prisma Cloud secret is set. Metrics collection is disabled.

Created on 19 Jul 2018  路  10Comments  路  Source: prisma/prisma1

Describe the bug
Messy log display every 30s seconds.
[Metrics] No Prisma Cloud secret is set. Metrics collection is disabled.
screen shot 2018-07-19 at 09 41 17

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. Windows 10, OS X High Sierra, Ubuntu 16.04]
  • prisma CLI: [e.g. prisma/1.9.0 (darwin-x64) node-v10.4.0]
  • Prisma Server: [e.g. 1.9.0]
  • graphql-cli, prisma-binding, graphql-yoga, etc. if applicable

Additional context
Prisma is an awesome product. But this messy log make developing experience very bad.

bu2-confirmed areengine

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.

All 10 comments

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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thomaswright picture thomaswright  路  3Comments

marktani picture marktani  路  3Comments

AlessandroAnnini picture AlessandroAnnini  路  3Comments

tbrannam picture tbrannam  路  3Comments

ragnorc picture ragnorc  路  3Comments