-
Notifications
You must be signed in to change notification settings - Fork 1.8k
OBSDOCS-2504: Add Google Cloud Exporter docs #102760
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
max-cx
wants to merge
1
commit into
openshift:main
Choose a base branch
from
max-cx:OBSDOCS-2504
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * observability/otel/otel-collector/otel-collector-exporters.adoc | ||
|
|
||
| :_mod-docs-content-type: REFERENCE | ||
| [id="otel-exporters-google-cloud-exporter_{context}"] | ||
| = Google Cloud Exporter | ||
|
|
||
| [role="_abstract"] | ||
| You can use the Google Cloud Exporter to export telemetry data to Google Cloud Operations Suite. Using the Google Cloud Exporter, you can export metrics to Google Cloud Monitoring, logs to Google Cloud Logging, and traces to Google Cloud Trace. | ||
|
|
||
| :FeatureName: The Google Cloud Exporter | ||
| include::snippets/technology-preview.adoc[] | ||
|
|
||
| .OpenTelemetry Collector custom resource with the enabled Google Cloud Exporter | ||
| [source,yaml] | ||
| ---- | ||
| # ... | ||
| env: | ||
| - name: GOOGLE_APPLICATION_CREDENTIALS | ||
| value: /var/secrets/google/key.json # <1> | ||
| volumeMounts: | ||
| - name: google-application-credentials | ||
| mountPath: /var/secrets/google | ||
| readOnly: true | ||
| volumes: | ||
| - name: google-application-credentials | ||
| secret: | ||
| secretName: google-application-credentials | ||
| config: | ||
| exporters: | ||
| googlecloud: | ||
| project: # <2> | ||
| # ... | ||
| ---- | ||
| <1> The `GOOGLE_APPLICATION_CREDENTIALS` environment variable that points to the authentication `key.json` file. The `key.json` file is mounted as a secret volume to the OpenTelemetry Collector. | ||
max-cx marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| <2> Optional. The project identifier. If not specified, the project is automatically determined from the credentials. | ||
| + | ||
| By default, the exporter sends telemetry data to the project specified in the `project` field of the exporter's configuration. You can have an override set up on a per-metric basis by using the `gcp.project.id` resource attribute. For example, if a metric has a label project, you can use the Group-by-Attributes Processor to promote it to a resource label, and then use the Resource Processor to rename the attribute from `project` to `gcp.project.id`. | ||
|
|
||
| [role="_additional-resources"] | ||
| .Additional resources | ||
| * link:https://cloud.google.com/monitoring[Google Cloud Monitoring] | ||
| * link:https://cloud.google.com/logging[Google Cloud Logging] | ||
| * link:https://cloud.google.com/trace[Google Cloud Trace] | ||
| * link:https://cloud.google.com/iam/docs/workload-identity-federation-with-kubernetes#deploy[Google Cloud Guides: Configure Workload Identity Federation with Kubernetes] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * observability/otel/otel-forwarding-telemetry-data.adoc | ||
|
|
||
| :_mod-docs-content-type: CONCEPT | ||
| [id="otel-forwarding-data-to-aws_{context}"] | ||
| = Forwarding telemetry data to AWS | ||
|
|
||
| [role="_abstract"] | ||
| You can have metrics, logs, and traces forwarded to the Amazon CloudWatch and AWS X-Ray services by using the following exporters of the OpenTelemetry Collector: AWS CloudWatch Logs Exporter, AWS EMF Exporter, and AWS X-Ray Exporter. | ||
|
|
||
| // Currently, this docs repository does not permit linking from here to the sections for AWS CloudWatch Logs Exporter, AWS EMF Exporter, and AWS X-Ray Exporter. See the xref to the "Exporters" page placed in observability/otel/otel-forwarding-telemetry-data.adoc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * observability/otel/otel-forwarding-telemetry-data.adoc | ||
|
|
||
| :_mod-docs-content-type: CONCEPT | ||
| [id="otel-forwarding-data-to-google-cloud_{context}"] | ||
| = Forwarding telemetry data to Google Cloud | ||
|
|
||
| [role="_abstract"] | ||
| You can have metrics, logs, and traces forwarded to Google Cloud Operations Suite by using the Google Cloud Exporter of the OpenTelemetry Collector. | ||
|
|
||
| // Currently, this docs repository does not permit linking from here to the Google Cloud Exporter section. See the xref to the "Exporters" page placed in observability/otel/otel-forwarding-telemetry-data.adoc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.