Skip to content

Commit

Permalink
Merge pull request #15 from appoptics/NH-2307-config
Browse files Browse the repository at this point in the history
NH-2307: Config file path via env var
  • Loading branch information
jiwen624 authored Nov 8, 2021
2 parents 2e44b5b + 2034373 commit 9635833
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

@AutoService(SdkTracerProviderConfigurer.class)
public class AppOpticsTracerProviderConfigurer implements SdkTracerProviderConfigurer {
//private Logger log = LoggerFactory.getLogger(AgentInstaller.class);
private Logger logger = LoggerFactory.getLogger(getClass());
public AppOpticsTracerProviderConfigurer() {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public static Future<?> initialize() throws InvalidConfigException {
throw e;
} finally {
reportInit(exception);
serviceKey = (String)ConfigManager.getConfig(ConfigProperty.AGENT_SERVICE_KEY);
logger.info("Successfully initialized AppOptics OpenTelemetry extensions with service key " + ServiceKeyUtils.maskServiceKey(serviceKey));
return future;
}
Expand Down

0 comments on commit 9635833

Please sign in to comment.