Enable process V1 performance counters by default (#1477)

This commit is contained in:
Jan-Otto Kröpke
2024-05-12 00:24:52 +02:00
committed by GitHub
parent 00781dbbee
commit b8747045ce
5 changed files with 48 additions and 13 deletions

View File

@@ -77,8 +77,6 @@ jobs:
$ErrorActionPreference = "Stop"
$BuildVersion = Get-Content VERSION
$TagName = $env:GITHUB_REF -replace 'refs/tags/', ''
# The MSI version is not semver compliant, so just take the numerical parts
$MSIVersion = $TagName -replace '^v?([0-9\.]+).*$','$1'
foreach($Arch in "amd64", "arm64") {
Write-Verbose "Building windows_exporter $MSIVersion msi for $Arch"
.\installer\build.ps1 -PathToExecutable .\output\windows_exporter-$BuildVersion-$Arch.exe -Version $MSIVersion -Arch "$Arch"