├── .github ├── release.yml ├── renovate.json5 └── workflows │ ├── build.yml │ ├── e2e_test.yml │ └── integration_test.yml ├── .gitignore ├── .mise └── tasks │ └── e2e-test.sh ├── CHANGELOG.md ├── CODEOWNERS ├── LICENSE ├── README.md ├── RELEASING.md ├── go.mod ├── go.sum ├── main.go ├── mise.toml ├── model ├── model.go └── model_test.go ├── observability └── observability_endpoint.go ├── testhelpers ├── compose │ └── compose.go ├── kubernetes │ └── kubernetes.go ├── prometheus │ └── responses │ │ ├── models.go │ │ └── response_helpers.go ├── remote │ └── remote_observability_endpoint.go ├── requests │ └── http.go └── tempo │ └── responses │ ├── models.go │ ├── response_helpers.go │ ├── response_helpers_test.go │ └── testdata │ └── trace_by_id.json ├── tests ├── e2e │ ├── Dockerfile │ ├── docker-compose.oats.yml │ └── oats.yaml └── integration_test.go └── yaml ├── README.md ├── docker-compose-docker-lgtm-template.yml ├── docker-compose-include-base.yml ├── generator.go ├── generator_test.go ├── logs.go ├── logs_test.go ├── metrics.go ├── profiles.go ├── runner.go ├── testcase.go ├── testcase_test.go ├── testdata ├── docker-compose-addition.yaml ├── docker-compose-expected.yaml ├── docker-compose-template.yaml ├── invalid-tests │ ├── malformed-yaml.yaml │ ├── outdated-version.yaml │ ├── unknown-field.yaml │ └── version-not-int.yaml ├── loki_response.json ├── oats-merged.yaml └── valid-tests │ ├── expect-absent.oats.yaml │ ├── ignored │ ├── .oatsignore │ └── should-not-appear.oats.yaml │ ├── input.oats.yaml │ ├── matrix-test.oats.yaml │ ├── more-oats.yml │ ├── oats-template.yaml │ └── oats.yaml ├── traces.go ├── validate.go └── validate_test.go /.github/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/.github/release.yml -------------------------------------------------------------------------------- /.github/renovate.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/.github/renovate.json5 -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/e2e_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/.github/workflows/e2e_test.yml -------------------------------------------------------------------------------- /.github/workflows/integration_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/.github/workflows/integration_test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/.gitignore -------------------------------------------------------------------------------- /.mise/tasks/e2e-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/.mise/tasks/e2e-test.sh -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/README.md -------------------------------------------------------------------------------- /RELEASING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/RELEASING.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/main.go -------------------------------------------------------------------------------- /mise.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/mise.toml -------------------------------------------------------------------------------- /model/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/model/model.go -------------------------------------------------------------------------------- /model/model_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/model/model_test.go -------------------------------------------------------------------------------- /observability/observability_endpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/observability/observability_endpoint.go -------------------------------------------------------------------------------- /testhelpers/compose/compose.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/testhelpers/compose/compose.go -------------------------------------------------------------------------------- /testhelpers/kubernetes/kubernetes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/testhelpers/kubernetes/kubernetes.go -------------------------------------------------------------------------------- /testhelpers/prometheus/responses/models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/testhelpers/prometheus/responses/models.go -------------------------------------------------------------------------------- /testhelpers/prometheus/responses/response_helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/testhelpers/prometheus/responses/response_helpers.go -------------------------------------------------------------------------------- /testhelpers/remote/remote_observability_endpoint.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/testhelpers/remote/remote_observability_endpoint.go -------------------------------------------------------------------------------- /testhelpers/requests/http.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/testhelpers/requests/http.go -------------------------------------------------------------------------------- /testhelpers/tempo/responses/models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/testhelpers/tempo/responses/models.go -------------------------------------------------------------------------------- /testhelpers/tempo/responses/response_helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/testhelpers/tempo/responses/response_helpers.go -------------------------------------------------------------------------------- /testhelpers/tempo/responses/response_helpers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/testhelpers/tempo/responses/response_helpers_test.go -------------------------------------------------------------------------------- /testhelpers/tempo/responses/testdata/trace_by_id.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/testhelpers/tempo/responses/testdata/trace_by_id.json -------------------------------------------------------------------------------- /tests/e2e/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/tests/e2e/Dockerfile -------------------------------------------------------------------------------- /tests/e2e/docker-compose.oats.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/tests/e2e/docker-compose.oats.yml -------------------------------------------------------------------------------- /tests/e2e/oats.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/tests/e2e/oats.yaml -------------------------------------------------------------------------------- /tests/integration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/tests/integration_test.go -------------------------------------------------------------------------------- /yaml/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/README.md -------------------------------------------------------------------------------- /yaml/docker-compose-docker-lgtm-template.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/docker-compose-docker-lgtm-template.yml -------------------------------------------------------------------------------- /yaml/docker-compose-include-base.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/docker-compose-include-base.yml -------------------------------------------------------------------------------- /yaml/generator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/generator.go -------------------------------------------------------------------------------- /yaml/generator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/generator_test.go -------------------------------------------------------------------------------- /yaml/logs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/logs.go -------------------------------------------------------------------------------- /yaml/logs_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/logs_test.go -------------------------------------------------------------------------------- /yaml/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/metrics.go -------------------------------------------------------------------------------- /yaml/profiles.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/profiles.go -------------------------------------------------------------------------------- /yaml/runner.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/runner.go -------------------------------------------------------------------------------- /yaml/testcase.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testcase.go -------------------------------------------------------------------------------- /yaml/testcase_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testcase_test.go -------------------------------------------------------------------------------- /yaml/testdata/docker-compose-addition.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/docker-compose-addition.yaml -------------------------------------------------------------------------------- /yaml/testdata/docker-compose-expected.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/docker-compose-expected.yaml -------------------------------------------------------------------------------- /yaml/testdata/docker-compose-template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/docker-compose-template.yaml -------------------------------------------------------------------------------- /yaml/testdata/invalid-tests/malformed-yaml.yaml: -------------------------------------------------------------------------------- 1 | debug: msg="foo: bar" 2 | -------------------------------------------------------------------------------- /yaml/testdata/invalid-tests/outdated-version.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/invalid-tests/outdated-version.yaml -------------------------------------------------------------------------------- /yaml/testdata/invalid-tests/unknown-field.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/invalid-tests/unknown-field.yaml -------------------------------------------------------------------------------- /yaml/testdata/invalid-tests/version-not-int.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/invalid-tests/version-not-int.yaml -------------------------------------------------------------------------------- /yaml/testdata/loki_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/loki_response.json -------------------------------------------------------------------------------- /yaml/testdata/oats-merged.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/oats-merged.yaml -------------------------------------------------------------------------------- /yaml/testdata/valid-tests/expect-absent.oats.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/valid-tests/expect-absent.oats.yaml -------------------------------------------------------------------------------- /yaml/testdata/valid-tests/ignored/.oatsignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /yaml/testdata/valid-tests/ignored/should-not-appear.oats.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/valid-tests/ignored/should-not-appear.oats.yaml -------------------------------------------------------------------------------- /yaml/testdata/valid-tests/input.oats.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/valid-tests/input.oats.yaml -------------------------------------------------------------------------------- /yaml/testdata/valid-tests/matrix-test.oats.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/valid-tests/matrix-test.oats.yaml -------------------------------------------------------------------------------- /yaml/testdata/valid-tests/more-oats.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/valid-tests/more-oats.yml -------------------------------------------------------------------------------- /yaml/testdata/valid-tests/oats-template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/valid-tests/oats-template.yaml -------------------------------------------------------------------------------- /yaml/testdata/valid-tests/oats.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/testdata/valid-tests/oats.yaml -------------------------------------------------------------------------------- /yaml/traces.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/traces.go -------------------------------------------------------------------------------- /yaml/validate.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/validate.go -------------------------------------------------------------------------------- /yaml/validate_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grafana/oats/HEAD/yaml/validate_test.go --------------------------------------------------------------------------------