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

Structured log events #28207

Closed
patriknw opened this issue Nov 20, 2019 · 0 comments
Closed

Structured log events #28207

patriknw opened this issue Nov 20, 2019 · 0 comments
Assignees
Labels
Projects
Milestone

Comments

@patriknw
Copy link
Member

@patriknw patriknw commented Nov 20, 2019

To improve observability it would be good to include additional information in some log events, in a more structured way than the log message text. Such metadata can be used when consuming logs in ELK stack or Lightbend Console.

Related #28003

@patriknw patriknw self-assigned this Nov 20, 2019
patriknw added a commit that referenced this issue Nov 20, 2019
* Expanding the LogMarker to optionally include Map of additional
  properties
* The name of the marker shows up as `tags` in Kibana
* The properties of the LogMarker are included as MDC entries, which
  Logstash encoder automatically understands
* Implemented with classic eventStream logging so that it can be used
  from all places without dependencies to Slf4j
  * also means that it's possible to subscribe to LogEventWithMarker
    to consume these events via the eventStream
@patriknw patriknw added this to In progress in Akka 2.6.x Nov 20, 2019
patriknw added a commit that referenced this issue Nov 27, 2019
* Expanding the LogMarker to optionally include Map of additional
  properties
* The name of the marker shows up as `tags` in Kibana
* The properties of the LogMarker are included as MDC entries, which
  Logstash encoder automatically understands
* Implemented with classic eventStream logging so that it can be used
  from all places without dependencies to Slf4j
  * also means that it's possible to subscribe to LogEventWithMarker
    to consume these events via the eventStream
patriknw added a commit that referenced this issue Dec 2, 2019
* Expanding the LogMarker to optionally include Map of additional
  properties
* The name of the marker shows up as `tags` in Kibana
* The properties of the LogMarker are included as MDC entries, which
  Logstash encoder automatically understands
* Implemented with classic eventStream logging so that it can be used
  from all places without dependencies to Slf4j
  * also means that it's possible to subscribe to LogEventWithMarker
    to consume these events via the eventStream
@johanandren johanandren moved this from In progress to Reviewing in Akka 2.6.x Dec 2, 2019
patriknw added a commit that referenced this issue Dec 5, 2019
* Expanding the LogMarker to optionally include Map of additional
  properties
* The name of the marker shows up as `tags` in Kibana
* The properties of the LogMarker are included as MDC entries, which
  Logstash encoder automatically understands
* Implemented with classic eventStream logging so that it can be used
  from all places without dependencies to Slf4j
  * also means that it's possible to subscribe to LogEventWithMarker
    to consume these events via the eventStream
* move marker definitions to RemoteLogMarker and ClusterLogMarker
* marker for dead letters
* marker for leader detained/allowed
* marker for member status changed
* markers for shard allocated and started
* test LogMarker with properties in Slf4jLoggerSpec
* doc note of the LogMarker definitions
@patriknw patriknw added this to the 2.6.1 milestone Dec 5, 2019
@patriknw patriknw closed this Dec 5, 2019
Akka 2.6.x automation moved this from Reviewing to Done Dec 5, 2019
patriknw added a commit that referenced this issue Dec 5, 2019
* wasn't noticed in pr validation because mima settings were wrong
patriknw added a commit that referenced this issue Dec 5, 2019
mima filter for ClusterLogger, #28207
navaro1 added a commit to navaro1/akka that referenced this issue Dec 17, 2019
* Expanding the LogMarker to optionally include Map of additional
  properties
* The name of the marker shows up as `tags` in Kibana
* The properties of the LogMarker are included as MDC entries, which
  Logstash encoder automatically understands
* Implemented with classic eventStream logging so that it can be used
  from all places without dependencies to Slf4j
  * also means that it's possible to subscribe to LogEventWithMarker
    to consume these events via the eventStream
* move marker definitions to RemoteLogMarker and ClusterLogMarker
* marker for dead letters
* marker for leader detained/allowed
* marker for member status changed
* markers for shard allocated and started
* test LogMarker with properties in Slf4jLoggerSpec
* doc note of the LogMarker definitions
navaro1 added a commit to navaro1/akka that referenced this issue Dec 17, 2019
* wasn't noticed in pr validation because mima settings were wrong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Akka 2.6.x
  
Done
1 participant
You can’t perform that action at this time.