Skip to content

[clusteragent/autoscaling] Add telemetry metrics for autoscaling controller #76378

[clusteragent/autoscaling] Add telemetry metrics for autoscaling controller

[clusteragent/autoscaling] Add telemetry metrics for autoscaling controller #76378

Workflow file for this run

name: "Code Scanning - Action"
on:
push:
branches:
- main
- "[0-9]+.[0-9]+.x"
pull_request:
branches:
- main
- "[0-9]+.[0-9]+.x"
jobs:
CodeQL-Build:
runs-on: ubuntu-20.04
strategy:
matrix:
language: ["go", "javascript", "python", "cpp"]
steps:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
fetch-depth: 0
- name: Setup Python3
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
with:
python-version: "3.11.8"
cache: "pip"
- run: pip3 install -r requirements.txt
- name: Setup env variables
run: |
echo "CODEQL_PYTHON=$(which python3)" >> $GITHUB_ENV
echo "$GOPATH/bin" >> $GITHUB_PATH
echo "CGO_LDFLAGS= -L${GITHUB_WORKSPACE}/rtloader/build/rtloader -ldl " >> $GITHUB_ENV
echo "CGO_CFLAGS= -I${GITHUB_WORKSPACE}/rtloader/include -I${GITHUB_WORKSPACE}/rtloader/common " >> $GITHUB_ENV
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: ".go-version"
- name: Initialize CodeQL
uses: github/codeql-action/init@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
with:
languages: ${{ matrix.language }}
setup-python-dependencies: false
- name: Set Swap Space
uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c
with:
swap-size-gb: 10
- name: Build DataDog agent
run: |
invoke install-tools
invoke deps
invoke agent.build --build-exclude=systemd
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15