Skip to content

Commit

Permalink
Use grafana docs URLs in code
Browse files Browse the repository at this point in the history
  • Loading branch information
olegbespalov committed Jan 16, 2024
1 parent c700af2 commit 9b5e0ae
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/initcontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

const cantBeUsedOutsideInitContextMsg = `the "%s" function is only available in the init stage ` +
`(i.e. the global scope), see https://k6.io/docs/using-k6/test-life-cycle for more information`
`(i.e. the global scope), see https://grafana.com/docs/k6/latest/using-k6/test-lifecycle/ for more information`

// openImpl implements openImpl() in the init context and will read and return the
// contents of a file. If the second argument is "b" it returns an ArrayBuffer
Expand Down
2 changes: 1 addition & 1 deletion js/modules/k6/k6.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var (
)

const asyncFunctionNotSupportedMsg = "%s() does not support async functions as arguments, " +
"please see https://k6.io/docs/javascript-api/k6/group/#working-with-async-functions for more info"
"please see https://grafana.com/docs/k6/latest/javascript-api/k6/group/#working-with-async-functions for more info"

type (
// RootModule is the global module instance that will create module
Expand Down
2 changes: 1 addition & 1 deletion loader/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const (
`local directory (-v /local/path/:/inside/docker/path) containing ` +
`your script and modules so that they're accessible by k6 from ` +
`inside of the container, see ` +
`https://k6.io/docs/using-k6/modules#using-local-modules-with-docker.`
`https://grafana.com/docs/k6/latest/using-k6/modules/#using-local-modules-with-docker.`
)

type unresolvableURLError string
Expand Down
2 changes: 1 addition & 1 deletion metrics/engine/ingester.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (oi *OutputIngester) flushMetrics() {
"and could cause high memory usage. "+
"Consider not using high-cardinality values like unique IDs as metric tags "+
"or, if you need them in the URL, use the name metric tag or URL grouping. "+
"See https://k6.io/docs/using-k6/tags-and-groups for details.", oi.cardinality.Count(), timeSeriesFirstLimit)
"See https://grafana.com/docs/k6/latest/using-k6/tags-and-groups/ for details.", oi.cardinality.Count(), timeSeriesFirstLimit)

Check failure on line 116 in metrics/engine/ingester.go

View workflow job for this annotation

GitHub Actions / lint

line is 130 characters (lll)
}
}

Expand Down
2 changes: 1 addition & 1 deletion metrics/thresholds_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

// thresholdExpression holds the parsed result of a threshold expression,
// as described in: https://k6.io/docs/using-k6/thresholds/#threshold-syntax
// as described in: https://grafana.com/docs/k6/latest/using-k6/thresholds/#threshold-syntax
type thresholdExpression struct {
// AggregationMethod holds the aggregation method parsed
// from the threshold expression. Possible values are described
Expand Down

0 comments on commit 9b5e0ae

Please sign in to comment.