CSPL-4513 Events for Index & Ingestion separation#1706
CSPL-4513 Events for Index & Ingestion separation#1706kasiakoziol merged 138 commits intofeature/slog-as-default-loggerfrom
Conversation
* test * test * test * test * Use endpoint to update conf file * CSPL-3895 Matching changes from Ingestor to Indexer --------- Co-authored-by: Kasia Koziol <kkoziol@splunk.com> Co-authored-by: igor.grzankowski <@splunk.com>
…on for empty values
…ture/CSPL-4354-cluster-manager-reconciler-logging
…ture/CSPL-4354-cluster-manager-reconciler-logging
…events-for-index-ingest-sep
|
CLA Assistant Lite bot CLA Assistant Lite bot All contributors have signed the COC ✍️ ✅ |
|
CLA Assistant Lite bot: I have read the CLA Document and I hereby sign the CLA 5 out of 6 committers have signed the CLA. |
…ture/CSPL-4354-cluster-manager-reconciler-logging
…events-for-index-ingest-sep
…ture/CSPL-4354-cluster-manager-reconciler-logging
…events-for-index-ingest-sep
2aa9a8e to
30c2546
Compare
…ture/CSPL-4354-cluster-manager-reconciler-logging
kubabuczak
left a comment
There was a problem hiding this comment.
I'm not sure if we need all the events. We already are producing too much of them.
We need some rules to identify if this event is needed. You can ask Igor about exact ones but we should rather focus on:
- Describe what happened (not what is)
- Expose actionable events / errors
- Expose very important events
We should also standardise event reason naming to UpperCamelCase + Past tense in the end of event reason
We should also remove error logging in event description - this should be logged, not exposed in event.
Other issue is that in some tests we are not calling code that we are testing, but we are reprosucing conditionals - this is wrong pattern. We should always call code that we are testing.
[nit] I prefer table testing
* CSPL-4354 logs for CM and IC * CSPL-4354 Refactoring * CSPL-4354 Addressing comments * CSPL-4354 Address comments
|
"I'm not sure if we need all the events. We already are producing too much of them." -> This will be reviewed by @Igor-splunk before we merge feature/slog-as-default-logger into develop, because that's a general SOK tendency. "We should also standardise event reason naming to UpperCamelCase + Past tense in the end of event reason." and "We should also remove error logging in event description - this should be logged, not exposed in event." -> Already addressed "Other issue is that in some tests we are not calling code that we are testing, but we are reprosucing conditionals - this is wrong pattern. We should always call code that we are testing." -> Looking into it. |
…ture/CSPL-4354-cluster-manager-reconciler-logging
570e625
into
feature/slog-as-default-logger
Description
It adds events and enhances logs for IngestorCluster and enhances events for IndexerCluster.
Key Changes
IngestorsRestarted
IngestorsRestarted
Testing and Verification
Automated and manual tests
Related Issues
Jira: https://splunk.atlassian.net/browse/CSPL-4513
PR Checklist