Skip to content
Permalink
Browse files
[STATS] get app name from app.name rather than restx.appName
app.name is what is set in generated settings when using app new.

restx.appName seems to be used very infrequently, currently we only have 4 different appNameHash
collected on 1000+ hosts.
  • Loading branch information
xhanin committed Jan 16, 2015
1 parent b6eb1b7 commit 679c2738991932a55b59c752178f553ff97652d1
Showing 1 changed file with 1 addition and 1 deletion.
@@ -79,7 +79,7 @@ public class RestxStatsCollector implements AutoStartable, AutoCloseable {
private volatile long lastShareTime;

public RestxStatsCollector(
@Named("restx.appName") Optional<String> appName,
@Named("app.name") Optional<String> appName,
@Named("restx.server.type") Optional<String> serverType,
@Named("restx.server.port") Optional<String> serverPort,
AppSettings appSettings, RestxStatsSettings statsSettings,

0 comments on commit 679c273

Please sign in to comment.