{"id":22048888,"url":"https://github.com/chaostoolkit-incubator/chaostoolkit-dynatrace","last_synced_at":"2026-07-02T20:04:31.295Z","repository":{"id":55663970,"uuid":"306077747","full_name":"chaostoolkit-incubator/chaostoolkit-dynatrace","owner":"chaostoolkit-incubator","description":"Dynatrace driver for the Chaos Toolkit","archived":false,"fork":false,"pushed_at":"2022-03-29T13:56:40.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-05T01:15:47.766Z","etag":null,"topics":["chaos-engineering","chaostoolkit","chaostoolkit-extension"],"latest_commit_sha":null,"homepage":"https://chaostoolkit.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaostoolkit-incubator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-21T16:02:53.000Z","updated_at":"2022-03-29T13:24:20.000Z","dependencies_parsed_at":"2022-08-15T05:51:02.237Z","dependency_job_id":null,"html_url":"https://github.com/chaostoolkit-incubator/chaostoolkit-dynatrace","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/chaostoolkit-incubator/chaostoolkit-dynatrace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaostoolkit-incubator%2Fchaostoolkit-dynatrace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaostoolkit-incubator%2Fchaostoolkit-dynatrace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaostoolkit-incubator%2Fchaostoolkit-dynatrace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaostoolkit-incubator%2Fchaostoolkit-dynatrace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaostoolkit-incubator","download_url":"https://codeload.github.com/chaostoolkit-incubator/chaostoolkit-dynatrace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaostoolkit-incubator%2Fchaostoolkit-dynatrace/sbom","scorecard":{"id":273953,"data":{"date":"2025-08-11","repo":{"name":"github.com/chaostoolkit-incubator/chaostoolkit-dynatrace","commit":"c3e21dc3f8799dc0bd010425b08c47b5e2c37c1a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/18 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yaml:1","Warn: no topLevel permission defined: .github/workflows/release.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/chaostoolkit-incubator/chaostoolkit-dynatrace/build.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/chaostoolkit-incubator/chaostoolkit-dynatrace/build.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/chaostoolkit-incubator/chaostoolkit-dynatrace/build.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/chaostoolkit-incubator/chaostoolkit-dynatrace/build.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/chaostoolkit-incubator/chaostoolkit-dynatrace/release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/chaostoolkit-incubator/chaostoolkit-dynatrace/release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/chaostoolkit-incubator/chaostoolkit-dynatrace/release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/chaostoolkit-incubator/chaostoolkit-dynatrace/release.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yaml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/chaostoolkit-incubator/chaostoolkit-dynatrace/release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yaml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/chaostoolkit-incubator/chaostoolkit-dynatrace/release.yaml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/release.yaml:20","Warn: pipCommand not pinned by hash: .github/workflows/release.yaml:21","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.2.0 not signed: https://api.github.com/repos/chaostoolkit-incubator/chaostoolkit-dynatrace/releases/63039746","Warn: release artifact 0.1.0 not signed: https://api.github.com/repos/chaostoolkit-incubator/chaostoolkit-dynatrace/releases/35241382","Warn: release artifact 0.2.0 does not have provenance: https://api.github.com/repos/chaostoolkit-incubator/chaostoolkit-dynatrace/releases/63039746","Warn: release artifact 0.1.0 does not have provenance: https://api.github.com/repos/chaostoolkit-incubator/chaostoolkit-dynatrace/releases/35241382"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2022-183 / GHSA-h8pj-cxx2-jfg2"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T14:00:20.422Z","repository_id":55663970,"created_at":"2025-08-17T14:00:20.422Z","updated_at":"2025-08-17T14:00:20.422Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35060939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chaos-engineering","chaostoolkit","chaostoolkit-extension"],"created_at":"2024-11-30T14:13:38.115Z","updated_at":"2026-07-02T20:04:31.271Z","avatar_url":"https://github.com/chaostoolkit-incubator.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chaos Toolkit extension for Dynatrace\n\n[![Release](https://github.com/chaostoolkit-incubator/chaostoolkit-dynatrace/actions/workflows/release.yaml/badge.svg)](https://github.com/chaostoolkit-incubator/chaostoolkit-dynatrace/actions/workflows/release.yaml)\n\n[Dynatrace][dynatrace] support for the [Chaos Toolkit][chaostoolkit].\n\n[dynatrace]: https://www.dynatrace.es/\n[chaostoolkit]: http://chaostoolkit.org/\n\n## Install\n\nTo be used from your experiment, this package must be installed in the Python\nenvironment where [chaostoolkit][] already lives.\n\n[chaostoolkit]: https://github.com/chaostoolkit/chaostoolkit\n\n```\n$ pip install chaostoolkit-dynatrace\n```\n\n## Usage\n\nTo use this package, you must  have access to a Dynatrace instance via\n[DynatraceApi][]  and be allowed to connect to it.\n\n[DynatraceApi]: https://www.dynatrace.com/support/help/dynatrace-api/basics/dynatrace-api-authentication/\n\nthe access credentials to the api must be specified in the configuration section\n\n```json\n{\n\n    \"configuration\": {\n        \"dynatrace_base_url\": \"https://{your-environment-id}.live.dynatrace.com\"\n    },\n    \"secrets\": {\n        \"dynatrace\": {\n            \"token\": \"...\"\n        }\n    }\n}\n```\n\nHere is an example of how to get the failure rate of a service in Dynatrace.\nfor this example, the api for validate de failure rate is [Metric-v1][mv1]\n\n[mv1]:https://www.dynatrace.com/support/help/dynatrace-api/environment-api/metric-v1/\n\n\n```json\n{\n    \"type\": \"probe\",\n    \"name\": \"get-failure-rate-services\",\n    \"provider\": {\n        \"type\": \"python\",\n        \"module\": \"chaosdynatrace.timeseries.v1.probes\",\n        \"func\": \"failure_rate\",\n        \"secrets\": [\"dynatrace\"],\n        \"arguments\": {\n            \"entity\": \"SERVICE-665B05BC92550119\",\n            \"relative_time\": \"30mins\",\n            \"failed_percentage\": 1\n        }\n    }\n}\n```\n\nThe probe returns `true` if the api request failure percentage is less than \nthe `failed_percentage` value or return `false`.\n\nThe extension also exports a control to send events to Dynatrace. For instance:\n\n```json\n{\n    \"controls\": [\n        {\n            \"name\": \"dynatrace\",\n            \"provider\": {\n                \"type\": \"python\",\n                \"secrets\": [\"dynatrace\"],\n                \"module\": \"chaosdynatrace.events.v2.control\"\n            }\n        }\n    ]\n}\n```\n\nThis will send start/stop logs of the experiment events.\n\nYou can correlate them to traces using the [Open Telemetry][opentracing]\nextension.\n\n[opentracing]: https://chaostoolkit.org/drivers/opentracing/\n\n```json\n{\n    \"configuration\": {\n        \"dynatrace_base_url\": \"https://{your-environment-id}.live.dynatrace.com\",\n        \"tracing_provider\": \"opentelemetry\",\n        \"tracing_opentelemetry_exporter\": \"oltp-http\",\n        \"tracing_opentelemetry_collector_endpoint\": \"https://{your-environment-id}.live.dynatrace.com/api/v2/otlp/v1/traces\",\n        \"tracing_opentelemetry_collector_headers\": {\n            \"Authorization\": \"Api-Token \u003cTOKEN\u003e\"\n        }\n    },\n    \"controls\": [\n        {\n            \"name\": \"opentracing\",\n            \"provider\": {\n                \"type\": \"python\",\n                \"module\": \"chaostracing.control\"\n            }\n        }\n    ]\n```\n\nThe logs and traces will be automatically correlated.\n\n## Contribute\n\nIf you wish to contribute more functions to this package, you are more than\nwelcome to do so. Please, fork this project, make your changes following the\nusual [PEP 8][pep8] code style, sprinkling with tests and submit a PR for\nreview.\n\n[pep8]: https://pycodestyle.readthedocs.io/en/latest/\n\n### Develop\n\nIf you wish to develop on this project, make sure to install the development\ndependencies. But first, [create a virtual environment][venv] and then install\nthose dependencies.\n\n[venv]: http://chaostoolkit.org/reference/usage/install/#create-a-virtual-environment\n\n```console\n$ pip install -r requirements-dev.txt -r requirements.txt \n```\n\nThen, point your environment to this directory:\n\n```console\n$ pip install -e .\n```\n\nNow, you can edit the files and they will be automatically be seen by your\nenvironment, even when running from the `chaos` command locally.\n\n### Test\n\nTo run the tests for the project execute the following:\n\n```\n$ pytest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaostoolkit-incubator%2Fchaostoolkit-dynatrace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaostoolkit-incubator%2Fchaostoolkit-dynatrace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaostoolkit-incubator%2Fchaostoolkit-dynatrace/lists"}