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 with 1 addition and 1 deletion.
  1. +1 −1 restx-stats-admin/src/main/java/restx/stats/RestxStatsCollector.java
@@ -79,7 +79,7 @@
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.