We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following script will run as a k6 scripted check
import { Client, StatusOK } from 'k6/net/grpc'; import { check, sleep } from 'k6'; const client = new Client({}); export default () => { client.connect('grpcbin.test.k6.io:9001', { reflect: true }); const data = { greeting: 'Bert' }; const response = client.invoke('hello.HelloService/SayHello', data); console.log(response.status) check(response, { 'status is OK': (r) => r && r.status === StatusOK, }); console.log(JSON.stringify(response.message)); client.close(); };
However it generates no output. There is a panic at targetMetricsCollection.Write
targetMetricsCollection.Write
screenshot of the output:
The text was updated successfully, but these errors were encountered:
The unexpected k6 panic log seems to come from k6 itself: https://github.com/grafana/k6/blob/6116f7b97cc55d7c1ee9a73c28e721c64e1d8b32/cmd/root.go#L100
unexpected k6 panic
However the script above does not seem to fail on latest k6.
Sorry, something went wrong.
grafana/xk6-sm#3
d0ugal
No branches or pull requests
The following script will run as a k6 scripted check
However it generates no output. There is a panic at
targetMetricsCollection.Write
screenshot of the output:
The text was updated successfully, but these errors were encountered: