litmuschaos / chaos-runner

The bridge between chaos operator and chaos experiment! Lifecycle manager for chaos experiments
Apache License 2.0
24 stars 40 forks source link

Update runner.go #198

Closed prajak002 closed 7 months ago

prajak002 commented 1 year ago

want to add prometheus exporter in the chaos-runner , and refactorize the code .

To test the code, run the following command:

Code snippet

kubectl apply -f chaos-operator/deploy/chaos_crds.yaml

kubectl apply -f chaos-operator/deploy/operator.yaml

kubectl apply -f chaos-operator/deploy/chaosengines.yaml

kubectl apply -f chaos-operator/deploy/chaosexperiments.yaml

kubectl wait --for=condition=ready pod -l app=chaos-operator

kubectl exec -it chaos-operator-665665555-5555 -- curl localhost:8080/metrics

What this PR does / why we need it:

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Checklist:

prajak002 commented 1 year ago

here i am applying as a mentee in lfx, here i introduce myself , i check all the architectural workflow of chaos exporter provided but litmuschaos and try to help in the open-source contribution . Please bring me in the light of LFX mentorship, I will try my best to dedicate myself to this project.

neelanjan00 commented 7 months ago

These changes doesn't look valid, we don't really need a prometheus exporter here. Closing this PR. Thanks for contributing!