String buildUrl(IndexTemplates templates, String type) {
    String indexPrefix = indexNameFormatter().index() + templates.indexTypeDelimiter();
    return VersionSpecificTemplates.forVersion(version()).indexTemplatesUrl(indexPrefix, type, templatePriority());
  }
This allows the health check to display problems, such as access, installing the index
template. It also helps reduce traffic sent to nodes still initializing (when guarded on the
check result). Finally, this reads the cluster health of the index as it can go down after the
one-time initialization passes.
zipkin-storage/elasticsearch/src/main/java/zipkin2/elasticsearch/ElasticsearchStorage.java