-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
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
SLO for Traces #508
Comments
as seen in https://tracetest.io/ from implementation perspective |
This is the second time I have seen Tracetest referenced with Keptn - first was a presentation by @bradmccoydev where he was running Tracetest as part of the test process (mentions at 11:13 and 12:03): https://www.youtube.com/watch?v=TO_d-HWXP5A. Would love to hear a vision of how this would work. Will spend some time today working with Keptn to gain a deeper understanding. |
@kdhamric TL,DR basically keptn or the keptn lifecycle controller is evaluation some set SLOs, describing the intended, expected result) and comparing them with actual test results coming out of SLI (Service level Indicators) typical metrics are the source of SLIs, but it can be "anything" and in these respects defining traces as SLIs which can evaluated and compared to expectations might make sense. |
@agardnerIT Does any of the material / scripts mentioned here help / apply - keptn/integrations#48 Spent some time this weekend to come up to speed on Keptn, and will be doing more tomorrow. |
Yes, potentially (I'd actually forgotten I'd written that)! However, be aware that the lifecycle toolkit is actually a separate Keptn project that aims to do things in a k8s-native and GitOps friendly way. As the name suggests, it hooks into the lifecycle of a Finally, after each Where I see tracetest fitting nicely is during the pre-deployment-evaluations (to test that any dependencies are functioning correctly) and then (primarily) during the post-deployment-evaluation so after The lifecycle toolkit has it's own (in progress) documentation here: https://lifecycle.keptn.sh/docs/ and the readme is also good (in this repo) |
Hi @hwinkel, thank you for the suggestion, this is an interesting use case. I would see this as a special EvaluationProvider. |
Hello everyone, @danielbdias and I are Tracetest engineers and we are doing some exploration work on how we can integrate Keptn and Tracetest. Thanks for the material shared in this thread, this will be very helpful. |
Hi folks! Analyzing your material at first glance we perceived that a simple way to integrate Tracetest with Keptn is by structuring it as a container and calling using job-executor-service (that later could be adapted to a Using the idea of apiVersion: v2
actions:
- name: "Run tracetest to validate a service"
events:
- name: "sh.keptn.event.test.triggered"
tasks:
- name: "Run tracetest"
files:
- data/test-definition.yaml
- data/tracetest-cli-config.yaml
image: "kubeshop/tracetest:latest"
cmd:
- sh
args:
- -c
- "./tracetest --config /keptn/data/tracetest-cli-config.yaml test run --definition /keptn/data/test-definition.yaml --wait-for-result" What do you think? Does it make sense? |
This task that @danielbdias posted would meet @agardnerIT's idea of how to use Tracetest to test a newly deployed app. I would like to know what are the benefits of using an Evaluation Provider over using a task for testing the trace generated by an app. |
Added an issue (#614) for adding the functionality of running tasks in containers. |
This issue has been automatically marked as stale because it has not had recent activity. It will be |
Please introduce SLO validation coming from Workload OTEL Traces. Basically define Otel traces as SLIs
which could be queried from the Otel Backend (e.g. Tempo)
The text was updated successfully, but these errors were encountered: