Elasticsearch: Update required database version to 7.16 (#66928)

elasticsearch: update database requirements
This commit is contained in:
Gábor Farkas 2023-04-21 13:37:04 +02:00 committed by GitHub
parent c742503d2c
commit 53d5a996b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ Once you've added the Elasticsearch data source, you can [configure it]({{< relr
This data source supports these versions of Elasticsearch:
- v7.10+
- v7.16+
- v8.x
## Configure the data source

View File

@ -92,7 +92,7 @@ export const getScriptValue = (metric: MetricAggregationWithInlineScript) =>
(typeof metric.settings?.script === 'object' ? metric.settings?.script?.inline : metric.settings?.script) || '';
export const isSupportedVersion = (version: SemVer): boolean => {
if (gte(version, '7.10.0')) {
if (gte(version, '7.16.0')) {
return true;
}
@ -100,4 +100,4 @@ export const isSupportedVersion = (version: SemVer): boolean => {
};
export const unsupportedVersionMessage =
'Support for Elasticsearch versions after their end-of-life (currently versions < 7.10) was removed. Using unsupported version of Elasticsearch may lead to unexpected and incorrect results.';
'Support for Elasticsearch versions after their end-of-life (currently versions < 7.16) was removed. Using unsupported version of Elasticsearch may lead to unexpected and incorrect results.';