arcus-azure / arcus-azure/arcus.scripting

Support for K6 performanceTests upload to Log Analytics

Open
#181 4 comments 0 reactions 0 assignees View on GitHub
area:log-analytics feature-suggestion specs-required
Dominant language
PowerShell
Stars
10
Forks
13
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
I've been using K6 on a project and quite like it. Unfortunately the CI/CD setup is a bit cumbersome (that is for processing the results at least). There's a K6 task for uploading the results to Application Insights but it [requires a ClientSecet](https://k6.io/docs/cloud/integrations/cloud-apm/azure-monitor/).

We've been using [this script](https://github.com/benc-uk/smilr/blob/master/azure/load-test-reports/k6ToAzure.js) documented in [this blogpost](https://benc.dev/blog/getting-loaded/) which is quite handy for upload to Log Analytics (and leverages the pipeline identity).

In addition, aside from an upload a good workbook template to visualize the results in Log Analytics and build in support for deploying it to Log Analytics would have quite some added value.

**Describe the solution you'd like**
One or two functions supporting upload to Log Analytics using pipeline identity with a parameter allowing a workbook template to be past to. A decent template example could be provided in the docs

**Describe alternatives you've considered**
Extending the K6 task or creating a new one for uploading results to Azure Log Analytics.

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked k6ToAzure.js script and blog post to understand the proposed Log Analytics upload flow and pipeline identity usage. Define the scope for the upload functions, workbook-template parameter, deployment support, and documentation example; done means the feature and a usable workbook example are documented and tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, devops, observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.