We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b6de3 commit 585fa3bCopy full SHA for 585fa3b
x-pack/plugin/blob-cache/src/main/java/org/elasticsearch/blobcache/BlobCacheMetrics.java
@@ -132,7 +132,7 @@ public void recordCachePopulationMetrics(
132
CachePopulationSource cachePopulationSource
133
) {
134
LuceneFilesExtensions luceneFilesExtensions = LuceneFilesExtensions.fromFile(blobName);
135
- String blobFileExtension = luceneFilesExtensions != null ? luceneFilesExtensions.getExtension() : NON_LUCENE_EXTENSION_TO_RECORD;
+ String blobFileExtension = luceneFilesExtensions != null ? luceneFilesExtensions.getExtension() : blobName;
136
Map<String, Object> metricAttributes = Map.of(
137
CACHE_POPULATION_REASON_ATTRIBUTE_KEY,
138
cachePopulationReason.name(),
0 commit comments