What should you do?

Your application is logging to Stackdriver. You want to get the count of all requests on all /api/alpha/* endpoints.

What should you do?

A. Add a Stackdriver counter metric for path:/api/alpha/.

B. Add a Stackdriver counter metric for endpoint:/api/alpha/*.

C. Export the logs to Cloud Storage and count lines matching /api/alphA.

D. Export the logs to Cloud Pub/Sub and count lines matching /api/alphA.

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments