Skip to content

Commit

Permalink
feat: drop-off tempo, loki references
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriidenisenko committed Dec 3, 2024
1 parent 9e5a9be commit 280c0ad
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 64 deletions.
16 changes: 0 additions & 16 deletions dashboard-service/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,6 @@

<statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener"/>

<appender name="LOKI" class="com.github.loki4j.logback.Loki4jAppender">
<batchTimeoutMs>10000</batchTimeoutMs>
<http>
<url>${LOKI_URL:-http://localhost:3100/loki/api/v1/push}</url>
</http>
<format>
<label>
<pattern>application=${application_name},level=%level,host=${HOSTNAME},runtimeEnv=${SVC_POD_NAMESPACE},traceID=%X{traceId:-NONE}</pattern>
</label>
<message>
<pattern>{"message": "%msg", "logger": "%logger{20}", "thread": "%thread", "traceID": "%X{traceId:-NONE}"}</pattern>
</message>
<sortByTime>true</sortByTime>
</format>
</appender>

<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>${application_name} %clr(%d{yyyy-MM-dd HH:mm:ss.SSS}) %clr([%thread]){blue} %clr(%-5level) %clr(%logger{36}){magenta} - %msg%n</pattern>
Expand Down
16 changes: 0 additions & 16 deletions edge-service/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,6 @@

<statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener"/>

<appender name="LOKI" class="com.github.loki4j.logback.Loki4jAppender">
<batchTimeoutMs>10000</batchTimeoutMs>
<http>
<url>${LOKI_URL:-http://localhost:3100/loki/api/v1/push}</url>
</http>
<format>
<label>
<pattern>application=${application_name},level=%level,host=${HOSTNAME},runtimeEnv=${SVC_POD_NAMESPACE},traceID=%X{traceId:-NONE}</pattern>
</label>
<message>
<pattern>{"message": "%msg", "logger": "%logger{20}", "thread": "%thread", "traceID": "%X{traceId:-NONE}"}</pattern>
</message>
<sortByTime>true</sortByTime>
</format>
</appender>

<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>${application_name} %clr(%d{yyyy-MM-dd HH:mm:ss.SSS}) %clr([%thread]){blue} %clr(%-5level) %clr(%logger{36}){magenta} - %msg%n</pattern>
Expand Down
16 changes: 0 additions & 16 deletions importer-service/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,6 @@

<statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener"/>

<appender name="LOKI" class="com.github.loki4j.logback.Loki4jAppender">
<batchTimeoutMs>10000</batchTimeoutMs>
<http>
<url>${LOKI_URL:-http://localhost:3100/loki/api/v1/push}</url>
</http>
<format>
<label>
<pattern>application=${application_name},level=%level,host=${HOSTNAME},runtimeEnv=${SVC_POD_NAMESPACE},traceID=%X{traceId:-NONE}</pattern>
</label>
<message>
<pattern>{"message": "%msg", "logger": "%logger{20}", "thread": "%thread", "traceID": "%X{traceId:-NONE}"}</pattern>
</message>
<sortByTime>true</sortByTime>
</format>
</appender>

<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>${application_name} %clr(%d{yyyy-MM-dd HH:mm:ss.SSS}) %clr([%thread]){blue} %clr(%-5level) %clr(%logger{36}){magenta} - %msg%n</pattern>
Expand Down
16 changes: 0 additions & 16 deletions init-container-service/src/main/resources/logback-spring.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,6 @@

<statusListener class="ch.qos.logback.core.status.OnConsoleStatusListener"/>

<appender name="LOKI" class="com.github.loki4j.logback.Loki4jAppender">
<batchTimeoutMs>10000</batchTimeoutMs>
<http>
<url>${LOKI_URL:-http://localhost:3100/loki/api/v1/push}</url>
</http>
<format>
<label>
<pattern>application=${application_name},level=%level,host=${HOSTNAME},runtimeEnv=${SVC_POD_NAMESPACE},traceID=%X{traceId:-NONE}</pattern>
</label>
<message>
<pattern>{"message": "%msg", "logger": "%logger{20}", "thread": "%thread", "traceID": "%X{traceId:-NONE}"}</pattern>
</message>
<sortByTime>true</sortByTime>
</format>
</appender>

<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>${application_name} %clr(%d{yyyy-MM-dd HH:mm:ss.SSS}) %clr([%thread]){blue} %clr(%-5level) %clr(%logger{36}){magenta} - %msg%n</pattern>
Expand Down

0 comments on commit 280c0ad

Please sign in to comment.