Skip to content

Commit

Permalink
feat: add some fix
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Dec 18, 2023
1 parent 4b2d818 commit 357b083
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/parsers/ppl_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ export const PPLParsers = {

return statsPPLs.map((query) => ({
type: 'output',
content: query,
content: query
.replace(/`/g, '') // workaround for https://github.com/opensearch-project/dashboards-observability/issues/509, https://github.com/opensearch-project/dashboards-observability/issues/557
.replace(/\bSPAN\(/g, 'span('), // workaround for https://github.com/opensearch-project/dashboards-observability/issues/759
contentType: 'ppl_visualization',
suggestedActions: [
{
Expand Down

0 comments on commit 357b083

Please sign in to comment.