Skip to content

Commit

Permalink
Update search_syntax.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiovincenzi authored Oct 13, 2023
1 parent 6f071e8 commit de12337
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/search_syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,11 @@ Select only the metrics where the name starts with "Test"
metric.name.startswith('Test')
```

Select only the metrics where the name contains "Metric1"
```python
re.search("Metric1", metric.name)
```

### Example with ```metric.last``` (numeric)

Select only the metrics where the last value is exactly 1.1
Expand Down

0 comments on commit de12337

Please sign in to comment.