Skip to content

Commit

Permalink
update OTEL metrics queries with the correct ss40 metrics schema (ope…
Browse files Browse the repository at this point in the history
…nsearch-project#1818)

Signed-off-by: YANGDB <yang.db.dev@gmail.com>
  • Loading branch information
YANG-DB authored May 3, 2024
1 parent 2fd7ba1 commit 55841f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/adaptors/metrics/metrics_analytics_adaptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class MetricsAnalyticsAdaptor {
must: [
{
term: {
'name.keyword': {
name: {
value: documentName,
},
},
Expand Down Expand Up @@ -98,7 +98,7 @@ export class MetricsAnalyticsAdaptor {
must: [
{
term: {
'name.keyword': {
name: {
value: documentName,
},
},
Expand Down Expand Up @@ -133,7 +133,7 @@ export class MetricsAnalyticsAdaptor {
aggs: {
distinct_names: {
terms: {
field: 'name.keyword',
field: 'name',
size: 500,
},
},
Expand Down

0 comments on commit 55841f2

Please sign in to comment.