Skip to content

Commit b09c218

Browse files
metrics: Use the correct term for types (#2019)
* Use the correct term for metrics types on Rate page * Use the correct term for metrics types on Gauge page * Use the correct term for metrics types on Trend page * Restore husky pre-commit file * Fix k5 to k6 * Small fixes * Apply to previous versions * Apply to v1.2 --------- Co-authored-by: Heitor Tashiro Sergent <[email protected]>
1 parent b03f9b4 commit b09c218

File tree

61 files changed

+75
-120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+75
-120
lines changed

.husky/pre-commit

100755100644
File mode changed.

docs/sources/k6/next/javascript-api/k6-metrics/counter/_index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
title: 'Counter'
3-
description: 'Counter is an object for representing a custom cumulative counter metric. It is one of the four custom metric types.'
4-
weight: 70
3+
description: 'Counter is an object for representing a custom cumulative counter metric.'
54
weight: 70
65
---
76

87
# Counter
98

10-
_Counter_ is an object for representing a custom cumulative counter metric. It is one of the four custom metric types.
9+
_Counter_ is an object for representing a custom cumulative counter metric. It's one of the four [metric types](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
1110

1211
| Parameter | Type | Description |
1312
| --------- | ------ | ------------------------------ |

docs/sources/k6/next/javascript-api/k6-metrics/gauge/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 71
66

77
# Gauge
88

9-
_Gauge_ is an object for representing a custom metric holding only the latest value added. It is one of the four [custom metrics](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
9+
_Gauge_ is an object for representing a custom metric holding only the latest value added. It's one of the four [metric types](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
1010

1111
| Parameter | Type | Description |
1212
| --------- | ------- | --------------------------------------------------------------------------------------------------- |

docs/sources/k6/next/javascript-api/k6-metrics/rate/_index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
title: 'Rate'
33
description: 'Rate is an object for representing a custom metric keeping track of the percentage of added values that are non-zero.'
44
weight: 72
5-
weight: 72
65
---
76

87
# Rate
98

10-
_Rate_ is an object for representing a custom metric keeping track of the percentage of added values that are non-zero. It is one of the four [custom metrics](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
9+
_Rate_ is an object for representing a custom metric keeping track of the percentage of added values that are non-zero. It's one of the four [metric types](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
1110

1211
| Parameter | Type | Description |
1312
| --------- | ------ | ------------------------------ |

docs/sources/k6/next/javascript-api/k6-metrics/trend/_index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
title: 'Trend'
33
description: 'Trend is an object for representing a custom metric that allows for calculating different statistics on the added values (min, max, average or percentiles)'
44
weight: 73
5-
weight: 73
65
---
76

87
# Trend
98

10-
_Trend_ is an object for representing a custom metric that allows for calculating different statistics on the added values (min, max, average or percentiles). It is one of the four [custom metrics](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
9+
_Trend_ is an object for representing a custom metric that allows for calculating different statistics on the added values (min, max, average or percentiles). It's one of the four [metric types](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
1110

1211
| Parameter | Type | Description |
1312
| --------- | ------- | --------------------------------------------------------------------------------------------------- |

docs/sources/k6/v0.47.x/javascript-api/k6-metrics/counter/_index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
title: 'Counter'
3-
description: 'Counter is an object for representing a custom cumulative counter metric. It is one of the four custom metric types.'
4-
weight: 70
3+
description: 'Counter is an object for representing a custom cumulative counter metric.'
54
weight: 70
65
---
76

87
# Counter
98

10-
_Counter_ is an object for representing a custom cumulative counter metric. It is one of the four custom metric types.
9+
_Counter_ is an object for representing a custom cumulative counter metric. It's one of the four [metric types](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
1110

1211
| Parameter | Type | Description |
1312
| --------- | ------ | ------------------------------ |

docs/sources/k6/v0.47.x/javascript-api/k6-metrics/gauge/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ weight: 71
66

77
# Gauge
88

9-
_Gauge_ is an object for representing a custom metric holding only the latest value added. It is one of the four [custom metrics](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
9+
_Gauge_ is an object for representing a custom metric holding only the latest value added. It's one of the four [metric types](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
1010

1111
| Parameter | Type | Description |
1212
| --------- | ------- | --------------------------------------------------------------------------------------------------- |

docs/sources/k6/v0.47.x/javascript-api/k6-metrics/rate/_index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
title: 'Rate'
33
description: 'Rate is an object for representing a custom metric keeping track of the percentage of added values that are non-zero.'
44
weight: 72
5-
weight: 72
65
---
76

87
# Rate
98

10-
_Rate_ is an object for representing a custom metric keeping track of the percentage of added values that are non-zero. It is one of the four [custom metrics](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
9+
_Rate_ is an object for representing a custom metric keeping track of the percentage of added values that are non-zero. It's one of the four [metric types](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
1110

1211
| Parameter | Type | Description |
1312
| --------- | ------ | ------------------------------ |

docs/sources/k6/v0.47.x/javascript-api/k6-metrics/trend/_index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
title: 'Trend'
33
description: 'Trend is an object for representing a custom metric that allows for calculating different statistics on the added values (min, max, average or percentiles)'
44
weight: 73
5-
weight: 73
65
---
76

87
# Trend
98

10-
_Trend_ is an object for representing a custom metric that allows for calculating different statistics on the added values (min, max, average or percentiles). It is one of the four [custom metrics](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
9+
_Trend_ is an object for representing a custom metric that allows for calculating different statistics on the added values (min, max, average or percentiles). It's one of the four [metric types](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
1110

1211
| Parameter | Type | Description |
1312
| --------- | ------- | --------------------------------------------------------------------------------------------------- |

docs/sources/k6/v0.48.x/javascript-api/k6-metrics/counter/_index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
title: 'Counter'
3-
description: 'Counter is an object for representing a custom cumulative counter metric. It is one of the four custom metric types.'
4-
weight: 70
3+
description: 'Counter is an object for representing a custom cumulative counter metric.'
54
weight: 70
65
---
76

87
# Counter
98

10-
_Counter_ is an object for representing a custom cumulative counter metric. It is one of the four custom metric types.
9+
_Counter_ is an object for representing a custom cumulative counter metric. It's one of the four [metric types](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-metrics).
1110

1211
| Parameter | Type | Description |
1312
| --------- | ------ | ------------------------------ |

0 commit comments

Comments
 (0)