Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[receiver/discovery] Remove severity_text from log evaluation statement config #4583

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### 🛑 Breaking changes 🛑

- (Splunk) `receiver/discovery`: Remove `severity_text` field from log evaluation statements. ([#4583](https://github.com/signalfx/splunk-otel-collector/pull/4583))

## v0.97.0

### 🚀 New components 🚀
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,18 @@
# - strict: mysql.locks
# first_only: true
# log_record:
# severity_text: info
# body: Mysql receiver is working!
# statements:
# failed:
# - regexp: "Can't connect to MySQL server on .* [(]111[)]"
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: The container cannot be reached by the Collector. The container is refusing MySQL connections.
# partial:
# - regexp: 'Access denied for user'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure your user credentials are correctly specified using the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,39 +23,33 @@
# - strict: oracledb.cpu_time
# first_only: true
# log_record:
# severity_text: info
# body: oracledb receiver is working!
# statements:
# failed:
# - regexp: "connection refused"
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: The container is not serving http connections.
# - regexp: "received goaway and there are no active streams"
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: Unable to connect and scrape metrics.
# - regexp: "dial tcp: lookup"
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: Unable to resolve oracledb tcp endpoint
# - regexp: 'error executing select .*: EOF'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: Unable to execute select from oracledb. Verify endpoint and user permissions.
# partial:
# - regexp: "listener does not currently know of service requested"
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure your oracledb service is correctly specified using the
Expand All @@ -64,7 +58,6 @@
# - regexp: 'invalid username/password'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure your user credentials are correctly specified using the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,23 @@
# - strict: postgresql.commits
# first_only: true
# log_record:
# severity_text: info
# body: PostgreSQL receiver is working!
# statements:
# failed:
# - regexp: 'connect: network is unreachable'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: The container cannot be reached by the Collector. Make sure they're in the same network.
# - regexp: 'connect: connection refused'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: The container is refusing PostgreSQL connections.
# partial:
# - regexp: 'pq: password authentication failed for user'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Please ensure your user credentials are correctly specified with
Expand All @@ -53,7 +49,6 @@
# - regexp: 'pq: database .* does not exist'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure the target database is correctly specified using the
Expand All @@ -62,7 +57,6 @@
# - regexp: 'pq: SSL is not enabled on the server'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure the target database has SSL enabled or set insecure using the
Expand All @@ -71,7 +65,6 @@
# - regexp: 'pq: pg_stat_statements must be loaded via shared_preload_libraries'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure your PostgreSQL database has
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,28 @@
# - strict: redis.uptime
# first_only: true
# log_record:
# severity_text: info
# body: redis receiver is working!
# statements:
# failed:
# - regexp: "connection refused"
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: The container is not serving http connections.
# - regexp: "received goaway and there are no active streams"
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: Unable to connect and scrape metrics.
# - regexp: "dial tcp: lookup"
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: Unable to resolve redis tcp endpoint
# partial:
# - regexp: 'NOAUTH Authentication required.'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure your user credentials are correctly specified using the
Expand All @@ -57,7 +52,6 @@
# - regexp: 'called without any password configured for the default user'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure your user credentials are correctly specified using the
Expand All @@ -66,7 +60,6 @@
# - regexp: 'WRONGPASS invalid username-password pair or user is disabled'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure your user credentials are correctly specified using the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,18 @@
# - strict: mysql_octets.rx
# first_only: true
# log_record:
# severity_text: info
# body: smartagent/collectd/mysql receiver is working!
# statements:
# failed:
# - regexp: "mysql plugin: Failed to connect to database .* at server .* Can't connect to MySQL server on .* [(]111[)]"
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: The container is refusing MySQL connections.
# partial:
# - regexp: 'mysql plugin: Failed to connect to database .* at server .* Access denied for user .* [(]using password: .*[)]'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure your user credentials are correctly specified using the
Expand All @@ -51,7 +48,6 @@
# - regexp: 'mysql plugin: Failed to connect to database .* at server .* Unknown database'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure your MySQL databases are correctly specified using the
Expand All @@ -60,7 +56,6 @@
# - regexp: 'mysql plugin: Failed to connect to database .* at server .* Access denied for user .* to database'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure your MySQL databases and auth information are correctly specified using the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,16 @@
# - strict: connections.accepted
# first_only: true
# log_record:
# severity_text: info
# body: smartagent/collectd/nginx receiver is working!
# statements:
# failed:
# - regexp: "nginx plugin: curl_easy_perform failed: Operation timed out after"
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: The container is not serving http connections.
# - regexp: "read-function of plugin .* failed"
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: The integration is unable to read metrics from this endpoint.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@
# - strict: postgres_query_count
# first_only: true
# log_record:
# severity_text: info
# body: PostgreSQL receiver is working!
# partial:
# - strict: postgres_rows_inserted
# first_only: true
# log_record:
# severity_text: info
# body: >-
# Make sure that
# `CREATE EXTENSION IF NOT EXISTS pg_stat_statements;`
Expand All @@ -44,20 +42,17 @@
# - regexp: 'connect: network is unreachable'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: The container cannot be reached by the Collector. Make sure they're in the same network.
# - regexp: 'connect: connection refused'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: The container is refusing PostgreSQL connections.
# partial:
# - regexp: 'pq: password authentication failed for user'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Please ensure your user credentials are correctly specified with
Expand All @@ -68,7 +63,6 @@
# - regexp: 'pq: database .* does not exist'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure the target database is correctly specified using the
Expand All @@ -77,7 +71,6 @@
# - regexp: 'pq: pg_stat_statements must be loaded via shared_preload_libraries'
# first_only: true
# log_record:
# severity_text: info
# append_pattern: true
# body: >-
# Make sure your PostgreSQL database has
Expand Down
2 changes: 0 additions & 2 deletions internal/confmapprovider/discovery/bundle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Example `redis.discovery.yaml.tmpl`:
- regexp: 'ERR AUTH.*'
first_only: true
log_record:
severity_text: info
body: >-
Please ensure your redis password is correctly specified with
`--set {{ configProperty "password" "<password>" }}` or
Expand All @@ -57,7 +56,6 @@ redis:
- regexp: 'ERR AUTH.*'
first_only: true
log_record:
severity_text: info
body: >-
Please ensure your redis password is correctly specified with
`--set splunk.discovery.receivers.redis.config.password="<password>"` or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,18 @@ mysql:
- strict: mysql.locks
first_only: true
log_record:
severity_text: info
body: Mysql receiver is working!
statements:
failed:
- regexp: "Can't connect to MySQL server on .* [(]111[)]"
first_only: true
log_record:
severity_text: info
append_pattern: true
body: The container cannot be reached by the Collector. The container is refusing MySQL connections.
partial:
- regexp: 'Access denied for user'
first_only: true
log_record:
severity_text: info
append_pattern: true
body: >-
Make sure your user credentials are correctly specified using the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,18 @@
- strict: mysql.locks
first_only: true
log_record:
severity_text: info
body: Mysql receiver is working!
statements:
failed:
- regexp: "Can't connect to MySQL server on .* [(]111[)]"
first_only: true
log_record:
severity_text: info
append_pattern: true
body: The container cannot be reached by the Collector. The container is refusing MySQL connections.
partial:
- regexp: 'Access denied for user'
first_only: true
log_record:
severity_text: info
append_pattern: true
body: >-
Make sure your user credentials are correctly specified using the
Expand Down
Loading
Loading