keptn-sandbox / k6-service

Keptn Service for running K6 as load testing tool.
MIT License
7 stars 1 forks source link

Docs: Document tutorial for running K6 Extension (Prometheus Output) with Job Executor Service #21

Closed jainammm closed 1 year ago

jainammm commented 1 year ago

Closes #19

jainammm commented 1 year ago

@agardnerIT, made changes as you suggested

@ppcano:

  1. added workflow wrt Keptn... the name microserviceA is the microservice which will go through these tasks of test, evaluation, so that should be appropriate
  2. Changed the titles
  3. Will add in another PR after merging this

PS: @agardnerIT @ppcano please also review the tutorial of quality gates for part 3 too... have added in this PR only

jainammm commented 1 year ago

@agardnerIT

docs/k6-jes-example/README.md

  1. Made the changes suggested.
  2. Here for the K6 extension we need to enable remote-write... otherwise it throws this error time="2022-07-19T19:40:24Z" level=error msg="Failed to store timeseries." error="server returned HTTP status 404 Not Found: remote write receiver needs to be enabled with --enable-feature=remote-write-receiver" I can see that K6 uses remote write URL for writing while this project directly used from prometheus_client import CollectorRegistry, Counter, Gauge, push_to_gateway. There might lie the difference.

docs/k6-prometheus-quality-gate-example/README.md

  1. Made the changes
  2. just adding keptn configure monitoring won't require the addition of ConfigMap file, right?