Skip to content
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

Improve GCP integration documentation #447

Merged
merged 2 commits into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
## Unreleased
IMPROVEMENTS:
* Update documentation for `signalfx_gcp_integration`

## 8.0.0
IMPROVEMENTS:
Expand Down
12 changes: 8 additions & 4 deletions website/docs/r/gcp_integration.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ SignalFx GCP Integration

```tf
resource "signalfx_gcp_integration" "gcp_myteam" {
name = "GCP - My Team"
enabled = true
poll_rate = 300
services = ["compute"]
name = "GCP - My Team"
enabled = true
poll_rate = 300
services = ["compute"]
custom_metric_type_domains = ["istio.io"]
import_gcp_metrics = true
project_service_keys {
project_id = "gcp_project_id_1"
project_key = "${file("/path/to/gcp_credentials_1.json")}"
Expand All @@ -33,7 +35,9 @@ resource "signalfx_gcp_integration" "gcp_myteam" {

## Argument Reference

* `custom_metric_type_domains` - (Optional) List of additional GCP service domain names that Splunk Observability Cloud will monitor. See [Custom Metric Type Domains documentation](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/#Custom-metric-type-domains)
* `enabled` - (Required) Whether the integration is enabled.
* `import_gcp_metrics` - (Optional) If enabled, Splunk Observability Cloud will sync also Google Cloud Monitoring data. If disabled, Splunk Observability Cloud will import only metadata. Defaults to true.
* `include_list` - (Optional) [Compute Metadata Include List](https://dev.splunk.com/observability/docs/integrations/gcp_integration_overview/).
* `name` - (Required) Name of the integration.
* `named_token` - (Optional) Name of the org token to be used for data ingestion. If not specified then default access token is used.
Expand Down