Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: remove influxdb mentions
Browse files Browse the repository at this point in the history
Serpentiel committed Feb 13, 2024

Verified

This commit was signed with the committer’s verified signature.
Serpentiel Aleksandr Zaruchevskiĭ
1 parent b28b1dc commit a85b52d
Showing 13 changed files with 39 additions and 590 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -176,6 +176,8 @@ gen-go:

docs: $(TFPLUGINDOCS)
PROVIDER_AIVEN_ENABLE_BETA=true $(TFPLUGINDOCS) generate
rm -f docs/data-sources/influxdb*.md
rm -f docs/resources/influxdb*.md

#################################################
# CI
174 changes: 0 additions & 174 deletions docs/data-sources/influxdb.md

This file was deleted.

27 changes: 0 additions & 27 deletions docs/data-sources/influxdb_database.md

This file was deleted.

38 changes: 0 additions & 38 deletions docs/data-sources/influxdb_user.md

This file was deleted.

5 changes: 4 additions & 1 deletion docs/data-sources/service_integration.md
Original file line number Diff line number Diff line change
@@ -7,7 +7,10 @@ description: |-
# aiven_service_integration (Data Source)
The Service Integration data source provides information about the existing Aiven Service Integration.

Service Integration defines an integration between two Aiven services or between Aiven service and an external integration endpoint. Integration could be for example sending metrics from Kafka service to an InfluxDB service, getting metrics from an InfluxDB service to a Grafana service to show dashboards, sending logs from any service to Elasticsearch, etc.
Service Integration defines an integration between two Aiven services or between Aiven service and an external
integration endpoint. Integration could be for example sending metrics from Kafka service to an M3DB service,
getting metrics from an M3Db service to a Grafana service to show dashboards, sending logs from any service to
OpenSearch, etc.

## Example Usage
```terraform
211 changes: 0 additions & 211 deletions docs/resources/influxdb.md

This file was deleted.

42 changes: 0 additions & 42 deletions docs/resources/influxdb_database.md

This file was deleted.

62 changes: 0 additions & 62 deletions docs/resources/influxdb_user.md

This file was deleted.

6 changes: 3 additions & 3 deletions docs/resources/service_integration.md
Original file line number Diff line number Diff line change
@@ -10,9 +10,9 @@ The Service Integration resource allows the creation and management of Aiven Ser
**Note** For services running on `hobbyist` plan service integrations are not supported.

Service Integration defines an integration between two Aiven services or between Aiven service and an external
integration endpoint. Integration could be for example sending metrics from Kafka service to an InfluxDB service,
getting metrics from an InfluxDB service to a Grafana service to show dashboards, sending logs from any service to
Elasticsearch, etc.
integration endpoint. Integration could be for example sending metrics from Kafka service to an M3DB service,
getting metrics from an M3DB service to a Grafana service to show dashboards, sending logs from any service to
OpenSearch, etc.

## Example Usage
```terraform
31 changes: 13 additions & 18 deletions sample_project/outputs.tf
Original file line number Diff line number Diff line change
@@ -116,40 +116,35 @@ output "sample_acl_id" {
description = "Resource's Terraform identifier."
}

# InfluxDB service
output "sampleinflux_id" {
value = aiven_influxdb.sampleinflux.id
# M3DB service
output "samplem3db_id" {
value = aiven_m3db.samplem3db.id
description = "Resource's Terraform identifier."
}

output "sampleinflux_service_uri" {
value = aiven_influxdb.sampleinflux.service_uri
output "samplem3db_service_uri" {
value = aiven_m3db.samplem3db.service_uri
description = "URI for connecting to the service."
sensitive = true
}

output "sampleinflux_service_host" {
value = aiven_influxdb.sampleinflux.service_host
output "samplem3db_service_host" {
value = aiven_m3db.samplem3db.service_host
description = "The hostname of the service."
}

output "sampleinflux_service_port" {
value = aiven_influxdb.sampleinflux.service_port
output "samplem3db_service_port" {
value = aiven_m3db.samplem3db.service_port
description = "The port of the service."
}

output "sampleinflux_database_name" {
value = aiven_influxdb.sampleinflux.influxdb[0].database_name
description = "Name of the default InfluxDB database."
}

output "sampleinflux_service_username" {
value = aiven_influxdb.sampleinflux.service_username
output "samplem3db_service_username" {
value = aiven_m3db.samplem3db.service_username
description = "Username used for connecting to the service."
}

output "sampleinflux_service_password" {
value = aiven_influxdb.sampleinflux.service_password
output "samplem3db_service_password" {
value = aiven_m3db.samplem3db.service_password
description = "Password used for connecting to the service."
sensitive = true
}
20 changes: 10 additions & 10 deletions sample_project/sample.tf
Original file line number Diff line number Diff line change
@@ -69,27 +69,27 @@ resource "aiven_kafka_acl" "sample_acl" {
topic = "*"
}

# InfluxDB service
resource "aiven_influxdb" "sampleinflux" {
# M3DB service
resource "aiven_m3db" "samplem3db" {
project = data.aiven_project.sample.project
cloud_name = "google-europe-west1"
plan = "startup-4"
service_name = "sampleinflux"
plan = "startup-8"
service_name = "samplem3db"
maintenance_window_dow = "monday"
maintenance_window_time = "11:00:00"
influxdb_user_config {
m3db_user_config {
ip_filter_object {
network = "0.0.0.0/0"
}
}
}

# Send metrics from Kafka to InfluxDB
# Send metrics from Kafka to M3DB
resource "aiven_service_integration" "samplekafka_metrics" {
project = data.aiven_project.sample.project
integration_type = "metrics"
source_service_name = aiven_kafka.samplekafka.service_name
destination_service_name = aiven_influxdb.sampleinflux.service_name
destination_service_name = aiven_m3db.samplem3db.service_name
}

# PostgreSQL service
@@ -107,12 +107,12 @@ resource "aiven_pg" "samplepg" {
}
}

# Send metrics from PostgreSQL to InfluxDB
# Send metrics from PostgreSQL to M3DB
resource "aiven_service_integration" "samplepg_metrics" {
project = data.aiven_project.sample.project
integration_type = "metrics"
source_service_name = aiven_pg.samplepg.service_name
destination_service_name = aiven_influxdb.sampleinflux.service_name
destination_service_name = aiven_m3db.samplem3db.service_name
}

# PostgreSQL database
@@ -160,5 +160,5 @@ resource "aiven_service_integration" "samplegrafana_dashboards" {
project = data.aiven_project.sample.project
integration_type = "dashboard"
source_service_name = aiven_grafana.samplegrafana.service_name
destination_service_name = aiven_influxdb.sampleinflux.service_name
destination_service_name = aiven_m3db.samplem3db.service_name
}
5 changes: 4 additions & 1 deletion templates/data-sources/service_integration.md.tmpl
Original file line number Diff line number Diff line change
@@ -7,7 +7,10 @@ description: |-
# {{.Name}} ({{.Type}})
{{ .Description | trimspace }}

Service Integration defines an integration between two Aiven services or between Aiven service and an external integration endpoint. Integration could be for example sending metrics from Kafka service to an InfluxDB service, getting metrics from an InfluxDB service to a Grafana service to show dashboards, sending logs from any service to Elasticsearch, etc.
Service Integration defines an integration between two Aiven services or between Aiven service and an external
integration endpoint. Integration could be for example sending metrics from Kafka service to an M3DB service,
getting metrics from an M3Db service to a Grafana service to show dashboards, sending logs from any service to
OpenSearch, etc.

{{ if .HasExample -}}
## Example Usage
6 changes: 3 additions & 3 deletions templates/resources/service_integration.md.tmpl
Original file line number Diff line number Diff line change
@@ -10,9 +10,9 @@ description: |-
**Note** For services running on `hobbyist` plan service integrations are not supported.

Service Integration defines an integration between two Aiven services or between Aiven service and an external
integration endpoint. Integration could be for example sending metrics from Kafka service to an InfluxDB service,
getting metrics from an InfluxDB service to a Grafana service to show dashboards, sending logs from any service to
Elasticsearch, etc.
integration endpoint. Integration could be for example sending metrics from Kafka service to an M3DB service,
getting metrics from an M3DB service to a Grafana service to show dashboards, sending logs from any service to
OpenSearch, etc.

{{ if .HasExample -}}
## Example Usage

0 comments on commit a85b52d

Please sign in to comment.