Skip to content

Commit

Permalink
Release logzio-logs-collector v1.0.7 (#527)
Browse files Browse the repository at this point in the history
* Upgrade `logzio-logs-collector` to v1.0.7

- Upgrade `otel/opentelemetry-collector-contrib` image to v0.107.0
- In case `json_parser` fails, send the log anyway and print the error only in debug mode.

* Adjust health check endpoint

- `opentelemetry-collector-contrib` v0.104.0+ mandate an endpoint, otherwise defaults to localhost.

* Update README.md
  • Loading branch information
ralongit authored Aug 20, 2024
1 parent f54d16e commit 8f6beee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/logzio-logs-collector/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v2
name: logzio-logs-collector
version: 1.0.6
version: 1.0.7
description: kubernetes logs collection agent for logz.io based on opentelemetry collector
type: application
home: https://logz.io/
maintainers:
- name: yotam loewenbach
email: yotam.loewenbach@logz.io
appVersion: 0.103.0
appVersion: 0.107.0
4 changes: 4 additions & 0 deletions charts/logzio-logs-collector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ Multi line logs configuration
The collector supports by default various log formats (including multiline logs) such as `CRI-O` `CRI-Containerd` `Docker` formats. You can configure the chart to parse custom multiline logs pattern according to your needs, please read [Customizing Multiline Log Handling](./examples/multiline.md) guide for more details.

## Change log
* 1.0.7
- Upgrade `otel/opentelemetry-collector-contrib` image to v0.107.0
- Adjusted health check extension endpoint
- In case `json_parser` fails, send the log anyway and print the error only in debug mode.
* 1.0.6
- Added `varlogcontainers` volume and volume mounts
- Added new `container` operator instead of complex operator sequence
Expand Down
4 changes: 3 additions & 1 deletion charts/logzio-logs-collector/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ config:
headers:
user-agent: "{{ .Chart.Name }}-{{ .Chart.Version }}-helm"
extensions:
health_check: {}
health_check:
endpoint: ${env:MY_POD_IP}:13133
file_storage:
directory: /var/lib/otelcol
processors:
Expand Down Expand Up @@ -146,6 +147,7 @@ config:
# conditional json parser
- type: json_parser
id: json
on_error: send_quiet
parse_from: body
if: 'body matches "^{.*}$"'
# multiline parsers. add more `type: recombine` operators for custom multiline formats
Expand Down

0 comments on commit 8f6beee

Please sign in to comment.