Skip to content

Commit

Permalink
fix: change traceql to get also aks nodes names
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamir David authored and Tamir David committed Oct 14, 2024
1 parent d18ae14 commit 2d3f435
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cross-cloud-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ jobs:
strategy:
matrix:
cloud-provider: [aks] # Add or remove providers as needed [TODO: later add -> eks + gke]
env:
TEST_SCENARIO: multi-apps
test-scenario: [multi-apps] # Add or remove scenarios as needed

steps:

Expand Down Expand Up @@ -162,7 +161,7 @@ jobs:
run: |
echo "MODE=cross-cloud-tests" >> $GITHUB_ENV
export MODE=cross-cloud-tests
chainsaw test tests/e2e/${{ env.TEST_SCENARIO }}
chainsaw test tests/e2e/${{ matrix.test-scenario }}
# - name: Destroy Resources
# if: always() # Ensures this runs even if earlier steps fail
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/multi-apps/tracesql/resource-attributes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ description: |
B. Kubernetes attributes are correctly set on all spans
At the time of writing this test, TraceQL api does not support not equal to nil so we use regex instead.
query: |
{ resource.odigos.version != "e2e-test" ||
{ resource.odigos.version !~ ".*" ||
resource.k8s.deployment.name !~ ".*" ||
resource.k8s.node.name !~ "kind-control-plane" ||
resource.k8s.node.name !~ "(kind-control-plane|aks-.*)" ||
resource.k8s.pod.name !~ ".*" }
expected:
count: 0

0 comments on commit 2d3f435

Please sign in to comment.