Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
federicotdn committed Jan 10, 2025
1 parent 0528b4d commit a8bf60a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ The generic procedure to create a custom metric is as follows:

For example, the following creates a custom trend. The object in the script is called `myTrend`, and its metric appears in the results output as `waiting_time`.
<!-- md-k6:skip -->
<!-- eslint-skip -->

```javascript
import { Trend } from 'k6/metrics';

const myTrend = new Trend('waiting_time');
```

Expand Down

0 comments on commit a8bf60a

Please sign in to comment.