Skip to content

[APM] Add more settings to Agent (Central) Configuration #43351

@sorenlouv

Description

@sorenlouv

Summary

Agent configuration currently only allows the user to change a single setting: sample_rate. We will add new config options to allow for further agent configuration from Kibana.

New config options

CAPTURE_BODY

Options: errors, transactions, all and off
Default: off

TRANSACTION_MAX_SPANS

Options: Number from 0 to max allowed numbers in the short num field.
Default: 500

Todos

  • Add two new options to the configuration flyout (as described above)
    • Not supported by RUM, so no changes there.
  • Add new option values to the configurations table.
  • Remove the beta badge and messaging in the flyout and on the table view.
  • Update flyout introduction copy:
    • "This allows you to fine-tune your agent configuration directly in Kibana. Best of all, changes are automatically propagated to your APM agents so there’s no need to redeploy."
  • Add another text paragraph after the heading
    • Tip You can select “All” in the services or environments options. This will create a configuration that applies to any service with any environment variable set. This allows for any explicit configurations to override the “All” configuration. Learn more about configurations in the documentation.
  • Capture body field help text: The agent can optionally capture the request body (e.g. POST variables). The default value is "off".
  • Transactions max spans field help text: Limits the number of spans that are recorded per transaction. Set it to “0” if the agent should not create spans. The default value is "500".

Design

Updated flyout with new options

01b Settings - select service (open select)

01g Settings - select capture body

Configurations table updated with new columns for options set

02a Settings - list configurations

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions