Skip to content

Commit

Permalink
Change version number to satisfy Grafana validation
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlb committed Mar 21, 2024
1 parent 0c62422 commit 59dc465
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,15 @@ public ElasticsearchApiService(KaldbQueryServiceBase searcher) {
public HttpResponse clusterMetadata() {
// todo - expand this to automatically pull in build info
// example - https://opensearch.org/docs/2.3/quickstart/
// number must validate with npm semver validate for grafana compatibility due to
// https://github.com/grafana/grafana/blob/f74d5ff93ebe61e090994162be9b08bafcd5b7f0/public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/MetricEditor.tsx#L54
return HttpResponse.of(
"""
{
"version":
{
"distribution": "astra",
"number": "0.0.1-alpha",
"number": "0.0.1",
"lucene_version": "9.7.0"
}
}
Expand Down

0 comments on commit 59dc465

Please sign in to comment.