Skip to content

Commit

Permalink
feat: Add support for instrumentation version annotations (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
losalex committed Nov 4, 2022
1 parent 2281ada commit c721557
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ branches:
handleGHRelease: true
releaseType: java-yoshi
branch: java7
extraFiles:
- src/main/java/com/google/cloud/logging/logback/LoggingAppender.java
1 change: 1 addition & 0 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
'.github/blunderbuss.yml',
'CONTRIBUTING.md',
'.github/auto-label.yaml',
".github/release-please.yml",
])

# --------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ public class LoggingAppender extends UnsynchronizedAppenderBase<ILoggingEvent> {
private static final List<LoggingEventEnhancer> DEFAULT_LOGGING_EVENT_ENHANCERS =
ImmutableList.<LoggingEventEnhancer>of(new MDCEventEnhancer());
public static final String JAVA_LOGBACK_LIBRARY_NAME = "java-logback";
// {x-version-update:google-cloud-logging-logback:current}
public static final String DEFAULT_INSTRUMENTATION_VERSION = "1.0.0";
// {x-version-update-end}
private static boolean instrumentationAdded = false;
private static Object instrumentationLock = new Object();

Expand Down

0 comments on commit c721557

Please sign in to comment.