Skip to content

Commit

Permalink
upgrade otel (#115)
Browse files Browse the repository at this point in the history
* upgrade otel

* change level to info
  • Loading branch information
ShiranAvidov authored Aug 7, 2023
1 parent 740bd78 commit 9542bbf
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.idea/*
.idea/**
manifest.json
.DS_Store
**/.DS_Store
2 changes: 1 addition & 1 deletion resources/otel/otel_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ service:
pipelines:
telemetry:
logs:
level: "debug"
level: "info"
metrics:
address: localhost:8888
7 changes: 7 additions & 0 deletions resources/otel/receivers/windowseventlog_application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,16 @@ windows_run: |
Write-Output "error setting type to windowseventlog/application receiver: $($Err[0])"
return 3
}
$local:Err = Add-YamlFileFieldValue "$LogzioTempDir\resources\otel\receivers\windowseventlog_application.yaml" '.receiver.windowseventlog/application/NAME.exclude_providers' $script:LogzioOtelCollectorServiceName
if ($Err.Count -ne 0) {
Write-Output "error setting type to windowseventlog/application receiver: $($Err[0])"
return 4
}
}
receiver:
windowseventlog/application/NAME:
channel: Application
exclude_providers: []
attributes:
type:
2 changes: 1 addition & 1 deletion scripts/linux/consts.bash
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ JQ_URL_DOWNLOAD='https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linu
# Url for downloading yq binary
YQ_URL_DOWNLOAD='https://github.com/mikefarah/yq/releases/download/v4.33.2/yq_linux_amd64.tar.gz'
# Url for downloading OTEL collector tar.gz
OTEL_COLLECTOR_URL_DOWNLOAD='https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v0.81.0/otelcol-contrib_0.81.0_linux_amd64.tar.gz'
OTEL_COLLECTOR_URL_DOWNLOAD='https://github.com/open-telemetry/opentelemetry-collector-releases/releases/download/v0.82.0/otelcol-contrib_0.82.0_linux_amd64.tar.gz'
# Url for downloading eksctl tar.gz
EKSCTL_URL_DOWNLOAD='https://github.com/weaveworks/eksctl/releases/download/v0.133.0/eksctl_Linux_amd64.tar.gz'
# Url for AWS SQS
Expand Down
2 changes: 1 addition & 1 deletion scripts/mac/consts.bash
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ JQ_URL_DOWNLOAD='https://github.com/stedolan/jq/releases/download/jq-1.6/jq-osx-
# Url for downloading yq binary
YQ_URL_DOWNLOAD='https://github.com/mikefarah/yq/releases/download/v4.33.2/yq_darwin_amd64.tar.gz'
# Url for downloading OTEL collector tar.gz
OTEL_COLLECTOR_URL_DOWNLOAD='https://github.com/logzio/otel-collector-distro/releases/download/v0.81.0/otelcol-logzio-darwin_amd64.tar.gz'
OTEL_COLLECTOR_URL_DOWNLOAD='https://github.com/logzio/otel-collector-distro/releases/download/v0.82.0/otelcol-logzio-darwin_amd64.tar.gz'
# Url for downloading eksctl tar.gz
EKSCTL_URL_DOWNLOAD='https://github.com/weaveworks/eksctl/releases/download/v0.133.0/eksctl_Darwin_amd64.tar.gz'
# Url for AWS SQS
Expand Down
2 changes: 1 addition & 1 deletion scripts/windows/consts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $script:JqUrlDownload = 'https://github.com/stedolan/jq/releases/download/jq-1.6
# Url for downloading yq exe
$script:YqUrlDownload = 'https://github.com/mikefarah/yq/releases/download/v4.27.5/yq_windows_amd64.exe'
# Url for downloading OTEL collector zip
$script:OtelCollectorUrlDownload = 'https://github.com/logzio/otel-collector-distro/releases/download/v0.81.0/otelcol-logzio-windows_amd64.zip'
$script:OtelCollectorUrlDownload = 'https://github.com/logzio/otel-collector-distro/releases/download/v0.82.0/otelcol-logzio-windows_amd64.zip'
# Url for downloading eksctl zip
$script:EksctlUrlDownload = 'https://github.com/weaveworks/eksctl/releases/download/v0.133.0/eksctl_Windows_amd64.zip'
# Url for AWS SQS
Expand Down

0 comments on commit 9542bbf

Please sign in to comment.