opentracing-contrib / opentracing-contrib/java-spring-cloud

Logging Filter

Open
#102 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new feature
Dominant language
Java
Stars
399
Forks
143
Avg merge
1d 3h
Merged PRs (30d)
22

Description

https://github.com/opentracing-contrib/java-spring-cloud/pull/97 introduced redirect of standard logging into span logs.

Logback supports filters https://logback.qos.ch/manual/filters.html to change a decision on appending log. Right now we send all logs to span (log of the level of root logger). However, this might overload tracing system. Just note that some tracing systems might strip long log strings.

Question if how to support this. Autowire list of Filter<E>? This might autowire other filters from the context, a solution might be to use classifier like tracingLogFilter.

cc @jfbreault

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing pull request #97 and the Logback filters documentation linked in the issue. Determine how a tracing-specific filter could be selected without autowiring unrelated filters. Done means application logs sent to span logs can be filtered through a defined configuration or integration point.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.