Skip to content

Avoid deprecation warnings due to monitoring index templates. #37442

@jtibshirani

Description

@jtibshirani

When putting and getting templates, monitoring currently uses the old typed APIs. In particular, the type name is included in the mapping definition, and when communicating over REST, the parameter include_type_name=true is specified.

When we soon deprecate the typed put + get templates calls on master, this will result in us issuing deprecation warnings when the monitoring http exporter is used. This won't be a great experience for users, as they'll receive deprecation warnings that are out of their control to fix. Note that if the http exporter needs to be able to connect to a 6.7 cluster, then include_type_name should be explicitly provided and set to false, since include_type_name defaults to true in 6.7 (whereas on master it defaults to false).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions