diff --git a/src/components/shared/installation-instructions/installation-instructions.view.js b/src/components/shared/installation-instructions/installation-instructions.view.js index 381d9efbce..9abe952960 100644 --- a/src/components/shared/installation-instructions/installation-instructions.view.js +++ b/src/components/shared/installation-instructions/installation-instructions.view.js @@ -19,7 +19,7 @@ const InstallationInstructions = ({ extensionUrl }) => (
> diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md index bbaa332c82..427bdebc2b 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 Amazon CloudWatch.md @@ -3,14 +3,26 @@ title: 'Amazon CloudWatch' excerpt: 'You can send k6 results output to Amazon CloudWatch and later visualize them.' --- -k6 can send metrics data to [Amazon CloudWatch](https://aws.amazon.com/cloudwatch/) through the [CloudWatch Agent](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html), which is effectively a StatsD integration. These metrics can then be visualized in dashboards. +To learn more about how to build custom k6 versions, check out{' '} - xk6 + xk6.
-This guide covers running the CloudWatch integration and visualizing the results: +The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. + +For more information on the reason behind this change, you can follow [this issue](https://github.com/grafana/k6/issues/2982) in the k6 repository. + ++ +k6 can send metrics data to [Amazon CloudWatch](https://aws.amazon.com/cloudwatch/) through the [CloudWatch Agent](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html) by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd). These metrics can then be visualized in dashboards. + +This guide covers how to: - Run the CloudWatch agent - Run the k6 test - Visualize k6 metrics in Amazon CloudWatch +## Before you begin + +To use the StatsD output option, you have to build a k6 binary using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd). For more details, refer to [StatsD](/results-output/real-time/statsd). + ## Run the CloudWatch agent We presume that you already have a machine that supports both running k6 and CloudWatch agent, which either runs a flavor of GNU/Linux or Windows. Just go ahead and [download](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/download-cloudwatch-agent-commandline.html) the suitable CloudWatch agent version for your operating system. @@ -60,18 +72,20 @@ We presume that you already have a machine that supports both running k6 and Clo ## Run the k6 test -Once the agent is running, [install](/get-started/installation) k6 and [run](/get-started/running-k6) the test, so that the metrics gets sent to the agent with the following command: +Once the agent is running, you can run your test with:
+ +The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. + +For more information on the reason behind this change, you can follow [this issue](https://github.com/grafana/k6/issues/2982) in the k6 repository. + +k6 can send metrics to [Datadog](https://www.datadoghq.com/). That allows visualizing and correlating performance testing metrics with other monitored metrics in Datadog. -This article outlines the instructions of the Datadog integration: +This guide covers how to: - Run the Datadog Agent - Run the k6 test - Visualize in Datadog +## Before you begin + +To use the StatsD output option, you have to build a k6 binary using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd). For more details, refer to [StatsD](/results-output/real-time/statsd). + ## Run the Datadog Agent To get k6 metrics into Datadog, k6 sends metrics through the Datadog Agent, which collects, aggregates, and forwards the metrics to the Datadog platform. @@ -58,12 +68,14 @@ Once the Datadog Agent service is running, run the k6 test and send the metrics
+ +The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. + +For more information on the reason behind this change, you can follow [this issue](https://github.com/grafana/k6/issues/2982) in the k6 repository. + ++ k6 can send performance testing metrics to [Netdata](https://netdata.cloud). This enables the user to start monitoring their k6 experiments right away, as Netdata is a monitoring tool with: -- auto-configuration and auto-detection of data sources -- automatic organization of metrics into **meaningful** charts and visualization -- per-second metric granularity + +- Auto-configuration and auto-detection of data sources +- Automatic organization of metrics into **meaningful** charts and visualization +- Per-second metric granularity + +## Before you begin + +To use the StatsD output option, you have to build a k6 binary using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd). For more details, refer to [StatsD](/results-output/real-time/statsd). ## Run Netdata @@ -19,21 +32,24 @@ Alternatively, you can read more about installing and running Netdata in their [ ## Setup Netdata for K6 -Netdata runs a fully functional [StatsD](https://learn.netdata.cloud/docs/agent/collectors/statsd.plugin) server by default and we have included a default configuration file for k6 metrics. +Netdata runs a fully functional [StatsD](https://github.com/netdata/netdata/blob/master/collectors/statsd.plugin/README.md) server by default and we have included a default configuration file for k6 metrics. ## Run the k6 test ```bash -k6 run --out statsd script.js +k6 run --out output-statsd script.js ``` +Make sure you're using the k6 binary you built with the xk6-output-statsd extension. + **Caveat**: By default, Netdata binds the StatsD server to `localhost`. That means that if Netdata and k6 are in different hosts, you will need to edit the configuration file of Netdata. -1. Visit [StatsD documentation](https://learn.netdata.cloud/docs/agent/collectors/statsd.plugin) for a reference on the configuration options. We are interested in `#bind to` option. + +1. Visit the [StatsD documentation](https://github.com/netdata/netdata/blob/master/collectors/statsd.plugin/README.md) for a reference on the configuration options. We are interested in the `#bind to` option. 2. Use `sudo ./edit-config netdata.conf` from inside the directory where Netdata stores its configuration files (e.g `/etc/netdata/`) and add `bind to=udp:0.0.0.0:8125`. ## Visualize in Netdata -Netdata will automatically create charts for your application, as illustrated in the [documentation](https://learn.netdata.cloud/docs/agent/collectors/statsd.plugin/k6). +Netdata will automatically create charts for your application, as illustrated in the [documentation](https://github.com/netdata/netdata/blob/master/collectors/statsd.plugin/k6.md). Simply head over to `localhost:19999` (assuming that you are running Netdata on the same machine) and find the k6 section. If you had opened Netdata before running the experiment, you will need to refresh the dashboard page. diff --git a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md index 3b587382ff..5d005ec85f 100644 --- a/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md +++ b/src/data/markdown/translated-guides/en/04 Results output/200 Real-time/00 NewRelic.md @@ -3,7 +3,13 @@ title: 'New Relic' excerpt: 'You can send k6 output to New Relic. With this integration visualize load test results and correlate them your New Relic telemetry data, create and share reports, and alert on k6 telemetry.' --- -> ⚠️ For k6 Cloud tests, follow the [k6 Cloud instructions](/cloud/integrations/cloud-apm/new-relic). +
+ +The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. + +For more information on the reason behind this change, you can follow [this issue](https://github.com/grafana/k6/issues/2982) in the k6 repository. + +k6 can send telemetry data to [New Relic](https://newrelic.com/) through the New Relic [StatsD integration](https://docs.newrelic.com/docs/integrations/host-integrations/host-integrations-list/statsd-monitoring-integration-version-2). Within New Relic you can find your k6 performance data alongside your real users data and server side performance. This data can be visualized in dashboards and shared with others, used to compare load impact with system performance, and alert on metrics too. @@ -13,6 +19,10 @@ This guide covers running the New Relic integration: - Run the k6 test - Visualize k6 telemetry in New Relic +## Before you begin + +To use the StatsD output option, you have to build a k6 binary using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd). For more details, refer to [StatsD](/results-output/real-time/statsd). + ## Run the New Relic StatsD integration To get k6 metrics into New Relic, k6 sends metrics to the New Relic StatsD integration which will take care of collecting, aggregate, format and send the telemetry to the New Relic Telemetry Data Platform. You can run this with or without a New Relic agent. @@ -66,12 +76,14 @@ Once the integration is running, run the k6 test and send the metrics to the int
+ +The built-in StatsD output has been deprecated on k6 v0.47.0. You can continue to use this feature by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd), and this guide has been updated to include instructions for how to use it. + +For more information on the reason behind this change, you can follow [this issue](https://github.com/grafana/k6/issues/2982) in the k6 repository. + ++ +k6 can push test metrics to a [StatsD](https://github.com/statsd/statsd) service by using the [xk6-output-statsd extension](https://github.com/LeonAdato/xk6-output-statsd). + +## Build the k6 version + +