Skip to content

[Monitoring] Remove include_type_name parameter from GET _template request #38926

Merged
ycombinator merged 1 commit intoelastic:7.0from
ycombinator:pr-38818-70
Feb 15, 2019
Merged

[Monitoring] Remove include_type_name parameter from GET _template request #38926
ycombinator merged 1 commit intoelastic:7.0from
ycombinator:pr-38818-70

Conversation

@ycombinator
Copy link
Copy Markdown
Contributor

Backport of #38818 to 7.0. Original description:

The HTTP exporter code in the Monitoring plugin makes GET _template requests to check for existence of templates. These requests don't need to pass the include_type_name query parameter so this PR removes it from the request. This should remove the following deprecation log entries on the Monitoring cluster in 7.0.0 onwards:

[types removal] Specifying include_type_name in get index template requests is deprecated.

…request (elastic#38818)

The HTTP exporter code in the Monitoring plugin makes `GET _template` requests to check for existence of templates. These requests don't need to pass the `include_type_name` query parameter so this PR removes it from the request. This should remove the following deprecation log entries on the Monitoring cluster in 7.0.0 onwards:

```
[types removal] Specifying include_type_name in get index template requests is deprecated.
```
@ycombinator
Copy link
Copy Markdown
Contributor Author

@jpountz @bleskes Just wanted raise awareness that we are proceeding with the removal of types for monitoring, targeting (at least) 7.0 GA (likely rc1). Please thumbs up to approve this backport PR to 7.0. No need to review code, that was done on the original PR.

@ycombinator ycombinator merged commit c36d192 into elastic:7.0 Feb 15, 2019
@ycombinator ycombinator deleted the pr-38818-70 branch February 15, 2019 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants