Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex for JSON query's expected value (and in general for anything value search-like) #4715

Closed
iGerman00 opened this issue Apr 26, 2024 · 1 comment Β· Fixed by #4717
Closed
Labels
area:monitor Everything related to monitors feature-request Request for new features to be added type:enhance-existing feature wants to enhance existing monitor

Comments

@iGerman00
Copy link

iGerman00 commented Apr 26, 2024

πŸ“‘ I have found these related issues/pull requests

🏷️ Feature Request Type

Change to existing monitor

πŸ”– Feature description

Sometimes, for example when the response is a string and can vary, you would want to regex it, maybe something returns a big error, but it starts with the word error.

βœ”οΈ Solution

A regex option alongside the current expected value would be swell.

❓ Alternatives

Can't think of any

πŸ“ Additional Context

No response

@iGerman00 iGerman00 added the feature-request Request for new features to be added label Apr 26, 2024
@CommanderStorm CommanderStorm added area:monitor Everything related to monitors type:enhance-existing feature wants to enhance existing monitor labels Apr 26, 2024
@CommanderStorm
Copy link
Collaborator

FYI:
jsonata already includes the regex expression https://docs.jsonata.org/regex
But yea, likely not as discoverable for devs.

The PR that would add further operators would be #4617

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:monitor Everything related to monitors feature-request Request for new features to be added type:enhance-existing feature wants to enhance existing monitor
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants