The trace-agent <https://github.com/GoogleCloudPlatform/cloud-trace-nodejs> and the monitoring <https://cloud.google.com/nodejs/docs/reference/monitoring/0.5.x/> client libraries are two separate libraries, thus the different ways of usage/configuration.
For the profiler (trace-agent), some environments require a configuration to be passed to the start() function and some does not (like GAE flex). See details here <https://github.com/GoogleCloudPlatform/cloud-profiler-nodejs#running-on-app-engine-flexible-environment> for running outside Google Cloud, on GAE Flex, or on Compute/Container engines. For the monitoring agent, however, the 'project-id' is required at all times. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to firstname.lastname@example.org. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/8b70dd68-8053-47c6-9794-c50bec0179d6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.