Skip to content

Include the calling plugin ID in a request header on all Elasticsearch API calls #77214

@joshdover

Description

@joshdover

In order to assist with filtering Elasticsearch's usage telemetry, it's been requested that Kibana includes the ID of the plugin that initiated an API call in all requests sent to Elasticsearch. This will allow ES to record usage telemetry in a way that allows ES to determine the source of an API call (eg. APM vs Visualize).

The header name is TBD, but some potential options:

  • x-origin-application
  • x-origin-plugin

Ideally, this is implemented in Core and automatically configured in the ES client instances passed to plugins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature:TelemetryTeam:CorePlatform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions