Revision e30dfcb49201eda1b362ee184a1d50b01ff3a33b authored by Josh Speer on 21 August 2022, 18:55:43 UTC, committed by GitHub on 21 August 2022, 18:55:43 UTC
When a monitored deployment has a closed index, the result of the _stats call is an index_closed_exception. The monitoring agent see's the exception, and doesn't ingest the monitoring data.
1 parent b20b3ae
Raw File
build.gradle
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0 and the Server Side Public License, v 1; you may not use this file except
 * in compliance with, at your election, the Elastic License 2.0 or the Server
 * Side Public License, v 1.
 */

configure(subprojects.findAll { it.parent.path == project.path }) {
  group = 'org.elasticsearch.plugin' // for modules which publish client jars
  apply plugin: 'elasticsearch.internal-testclusters'
  apply plugin: 'elasticsearch.internal-es-plugin'

  esplugin {
    // for local ES plugins, the name of the plugin is the same as the directory
    name project.name
  }

  if (project.file('src/main/packaging').exists()) {
    throw new InvalidModelException("Modules cannot contain packaging files")
  }
  if (project.file('src/main/bin').exists()) {
    throw new InvalidModelException("Modules cannot contain bin files")
  }
}
back to top