Skip to content

Commit af651a4

Browse files
Refactor:
- Update README.md file and go version for test files
1 parent e53f500 commit af651a4

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

cmd/otelcontribcol/go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
module github.com/open-telemetry/opentelemetry-collector-contrib/cmd/otelcontribcol
44

5-
go 1.21.12
5+
go 1.21.0
6+
7+
toolchain go1.21.12
68

79
require (
810
github.com/open-telemetry/opentelemetry-collector-contrib/confmap/provider/s3provider v0.106.0

cmd/oteltestbedcol/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/cmd/oteltestbed
44

55
go 1.21.0
66

7-
toolchain go1.22.4
7+
toolchain go1.21.12
88

99
require (
1010
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/carbonexporter v0.106.0

receiver/googlecloudmonitoringreceiver/README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
The primary objective of the Google Cloud Monitoring Receiver is to gather time series metrics data from all Google services and convert this data into a pipeline format that facilitates further use.
1616

17-
This receiver gets GCP (Google Clout Platform) metrics from [GCP Monitoring REST API] via the [Google SDK for GCP Metrics] and then convert those timeseries data into OTel Format [Pipeline Data].
17+
This receiver gets GCP (Google Cloud Platform) metrics from [GCP Monitoring REST API] via the [Google SDK for GCP Metrics] and then convert those timeseries data into OTel Format [Pipeline Data].
1818

1919
[GCP Monitoring REST API]: https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list
2020
[Google SDK for GCP Metrics]: https://pkg.go.dev/cloud.google.com/go/monitoring/apiv3
@@ -46,13 +46,10 @@ Each single metric can have the following configuration:
4646
- `metric_name` (Required): The specific metric name to collect.
4747
- `delay` (Optional): The delay before starting the collection of metrics for this service. Default is 0s.
4848

49-
## Exporting Google Application Credentials
5049

51-
To authenticate with Google Cloud services, set the GOOGLE_APPLICATION_CREDENTIALS environment variable to the path of your service account key file (google_application_credentials.json). This file contains the necessary credentials for accessing Google Cloud APIs securely.
50+
## Authentication with Google Cloud
5251

53-
```
54-
export GOOGLE_APPLICATION_CREDENTIALS='google_application_credentials.json'
55-
```
52+
For more details on authentication, refer to the Google Cloud [Application Default Credentials documentation](https://cloud.google.com/docs/authentication/application-default-credentials). Note that if your workload is running on Google Cloud Platform (GCP), the service account credentials will be used automatically without needing to set the environment variable manually.
5653

5754
### Filtering
5855

0 commit comments

Comments
 (0)