Skip to content

Commit

Permalink
Merge pull request #15 from grafana/fix-legacy
Browse files Browse the repository at this point in the history
fix: output names generated correctly from legacy registry
  • Loading branch information
szkiba authored Jul 30, 2024
2 parents 841de69 + 043b17c commit 102090d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func legacyConvert(ctx context.Context) error {
continue
}

name := strings.TrimPrefix(legacyExt.Name, "xk6-output")
name := strings.TrimPrefix(legacyExt.Name, "xk6-output-")
name = strings.TrimPrefix(name, "xk6-")

ext.Outputs = []string{name}
Expand Down
8 changes: 4 additions & 4 deletions docs/legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
- module: github.com/Maksimall89/xk6-output-clickhouse
description: Export results to ClickHouse
outputs:
- -clickhouse
- clickhouse
- module: github.com/NAlexandrov/xk6-tcp
description: Send data to TCP port
imports:
Expand Down Expand Up @@ -155,7 +155,7 @@
description: Export k6 results to TimescaleDB
official: true
outputs:
- -timescaledb
- timescaledb
- module: github.com/grafana/xk6-sql
description: Load-test SQL Servers (PostgreSQL, MySQL and SQLite3 for now)
official: true
Expand All @@ -181,7 +181,7 @@
- module: github.com/leonyork/xk6-output-timestream
description: Export results to AWS Timestream
outputs:
- -timestream
- timestream
- module: github.com/maksimall89/xk6-telegram
description: Interact with Telegram Bots
imports:
Expand Down Expand Up @@ -263,7 +263,7 @@
- module: github.com/szkiba/xk6-output-plugin
description: Write k6 output extension as a dynamically loadable plugin using your favorite programming language
outputs:
- -plugin
- plugin
- module: github.com/szkiba/xk6-prometheus
description: Prometheus HTTP exporter for k6
outputs:
Expand Down

0 comments on commit 102090d

Please sign in to comment.