Skip to content

Add insights_config for mssql sub-module #741

@koushikgongireddy

Description

@koushikgongireddy

TL;DR

I would like to enable insights_config for mssql instance on Sql Database, so that we can get the query details and what's causing the Database problems

Terraform Resources

* Module repo: `terraform-google-modules/terraform-google-sql-db`

Detailed design

Here is the code expected

  settings = {
    tier = "db-custom-2-7680"
    # ... other settings ...
    insights_config = {
      query_insights_enabled   = true
      query_string_length      = 2048      # Optional
      record_client_address    = true      # Optional
      query_plans_per_minute   = 10        # Optional
    }
  }

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions