Comments (6)
No, not really. I'm way too busy to do it myself.
from play-plugins.
The filter seems to work with 2.4 (without using GlobalSettings) if you do this:
class Filters @Inject() (stats: play.modules.statsd.api.StatsdFilter) extends HttpFilters { val filters = Seq(stats) }
(point play.http.filters to this class if it's not in your root package.)
from play-plugins.
What would it require to update this for Play 2.4.x at this point? If it compiles, it works, right?
Its been over a year now. This repo doesn't seem to be very popular.
I myself am after the statsd plugin. It is just for convenience, but it would save me from bolting in a copy-pasta version.
from play-plugins.
I think the reason those integration tests don't pass is because of the changes from Play 2.2 to 2.3 .
Apparently, "dependsOn" is intended to work so that if A dependsOn B, then B is available in the classpath for A, but not vice-versa.
But before Play 2.3, it also worked the other way, which is why the project could see routes in the sample project.
As it is now, sample really does "dependsOn" root, because it needs to see the Statsd code - but nothing can see those routes.
I'm not sure it's really possible to have a subproject of this structure, where the subproject is integration tests with an Application and routes. I was only able to get most of the integration tests passing by putting them into an entirely new project.
Two of them still don't pass though - the ones that are designed to fail from the Application throwing RuntimeExceptions. I think the filter isn't properly recording all the timing data in those cases, so this is arguably a bug.
lavrov's commit to his fork looks like it works on 2.4. Although updating to 2.5 looks like a whole other project, due to how Play 2.5 streams data and responses. How else are people integrating statsd into their play projects these days?
from play-plugins.
@tunesmith have you figured out a good way to get this plugin on more recent builds?
from play-plugins.
As information the Routes object that the StatsdFilter is dependent on is deprecated in Play 2.4
@deprecated("Use play.api.routing.Router instead", "2.4.0")
It's gone away in 2.5.
from play-plugins.
Related Issues (20)
- Java-2.4: Use Redis module with Jedis HOT 4
- Redis: Support compile time DI HOT 1
- Redis Plugin - play-modules-redis 2.4.0 can't work in Play 2.4.1 HOT 7
- JedisPool injection giving exception for Play with java 2.4.x HOT 5
- JedisPool is null when trying to inject in another class than the controllers HOT 6
- redis plugin: redis server downtime not handled gracefully HOT 4
- [redis] Sample code to access sedis pool in scala seems incomplete HOT 1
- unresolved dependency: com.typesafe.play.plugins#play-plugins-redis;2.3.1: not found HOT 2
- Any way to inject JedisSentinelPool? HOT 1
- not found: value use HOT 1
- LifeWay to assume maintenance for redis module
- Redis Plugin: NullpointerException when setting null HOT 1
- play-modules-redis: compile/publish for scala 2.12.1
- Redis Java 2.5.X
- when play-redis to support play 2.6.x HOT 2
- Redis plugin - Sedis pool bug HOT 2
- Redis Plugin <JAVA>: could not deserialize Object Serializable (model) - java.lang.ClassNotFoundException
- JedisConnectionException: Could not get a resource from the pool HOT 1
- String Redis cache value is limited to length < 2^16 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from play-plugins.