-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Description
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).