You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/instrumentation-quickstart/README.md
+27-3Lines changed: 27 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,9 +39,26 @@ oauth2 flow (read more about the command [here][auth_command]):
39
39
40
40
gcloud auth application-default login
41
41
42
-
Set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable with `export GOOGLE_APPLICATION_CREDENTIALS="$HOME/.config/gcloud/application_default_credentials.json"`
43
-
or manually set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to point to a service
44
-
account key JSON file path.
42
+
> [!CAUTION]
43
+
> This method of authentication is not recommended for production environments.
44
+
45
+
Executing this command will save your application credentials to the default path which will depend on the type of machine -
docker compose -f docker-compose.yaml -f docker-compose.creds.yaml up --abort-on-container-exit
61
78
```
62
79
80
+
## Viewing the results
81
+
82
+
After a successful run of the example, you can see the generated metrics in the GCP console via Metrics Explorer. The generated metrics would be present under the `Prometheus Target` resource.
83
+
84
+
Similarly, to view the generated traces in the GCP console, use the Trace Explorer.
0 commit comments