Skip to content

E2E metric limiter #51

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

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/appsignals-e2e-metric-limiter-canary-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
## SPDX-License-Identifier: Apache-2.0

## This workflow aims to run the Application Signals end-to-end tests as a canary to
## test the artifacts for App Signals enablement. It will deploy the CloudWatch Agent
## Operator and our sample app and remote service onto a native K8s cluster, call the
## APIs, and validate the generated telemetry, including logs, metrics, and traces.
## It will then clean up the cluster and EC2 instance it runs on for the next test run.
name: App Signals Enablement - E2E K8s Canary Testing
on:
schedule:
- cron: '*/15 * * * *' # run the workflow every 15 minutes
workflow_dispatch: # be able to run the workflow on demand

permissions:
id-token: write
contents: read

jobs:
e2e-eks-test-1:
strategy:
fail-fast: false
matrix:
aws-region: ['us-east-1']
uses: ./.github/workflows/appsignals-e2e-metric-limiter-test.yml
secrets: inherit
with:
aws-region: ${{ matrix.aws-region }}
test-cluster-name: 'e2e-metric-limiter-test'
caller-workflow-name: 'appsignals-e2e-metric-limiter-test'
363 changes: 363 additions & 0 deletions .github/workflows/appsignals-e2e-metric-limiter-test.yml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,13 @@ public enum PredefinedExpectedTemplate implements FileConfig {
K8S_CLIENT_CALL_METRIC("/expected-data-template/k8s/client-call-metric.mustache"),
K8S_CLIENT_CALL_TRACE("/expected-data-template/k8s/client-call-trace.mustache"),

/** Python EKS Test Case Validations */
/** Metric Limiter Test Case Validations */
METRIC_LIMITER_OUTGOING_HTTP_CALL_METRIC("/expected-data-template/metric_limiter/outgoing-http-call-metric.mustache"),
METRIC_LIMITER_AWS_SDK_CALL_METRIC("/expected-data-template/metric_limiter/aws-sdk-call-metric.mustache"),
METRIC_LIMITER_REMOTE_SERVICE_METRIC("/expected-data-template/metric_limiter/remote-service-metric.mustache"),
METRIC_LIMITER_CLIENT_CALL_METRIC("/expected-data-template/metric_limiter/client-call-metric.mustache"),

/** Python EKS Test Case Validations */
PYTHON_EKS_OUTGOING_HTTP_CALL_LOG("/expected-data-template/python/eks/outgoing-http-call-log.mustache"),
PYTHON_EKS_OUTGOING_HTTP_CALL_METRIC("/expected-data-template/python/eks/outgoing-http-call-metric.mustache"),
PYTHON_EKS_OUTGOING_HTTP_CALL_TRACE("/expected-data-template/python/eks/outgoing-http-call-trace.mustache"),
Expand Down
Loading