Skip to content

[Feature] Support Kibana APM agent-configuration #315

@audig

Description

@audig

Describe the resource you would like to have implemented.
I would like to declare as terraform resource the default configuration for APM agent.
I would really appreciate to declare all my custom configuration ofr kibana & elasticsearch in this provider

Describe the solution you'd like
I would like to declare the resources like this

resource "elasticstack_kibana_apm_agent_configuration" "mydefaultagentconfiguration" {
  #Value can be null for configure all services
  service_name           = "myapmservice"
  #Value can be null for configure all enviroments
  environment_name = "staging"
  transaction_max_spans = "100"
  transaction_sample_rate = "0.5"
}

Describe alternatives you've considered
I try to deal with apm agent configuration by ussing a rest api terraform provider (rest api mastercard). But the existing kibana api for agent-config-api doest not fit all requirements of the rest api provider

Additional context
There is an api in kibana to create, update and delete apm agent configuration : https://www.elastic.co/guide/en/kibana/current/agent-config-api.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions