You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a working module that supports this, but need to work out to major issues before making it an official "pull request".
The first hurdle is to potentially add the ability to create the monitoring actor within an existing actor system (see #79 ).
The second is to plan out the default naming scheme for statistics that will be sent to the Codahale metrics registry. This format is most likely different then the statsd implementation that gets sent to DataDog. This should probably be a combination of the aspect and the actor path concatenated into some sort of dot notation.
The above example is very simple, but the point is that I am looking for some recommendations for what the default input should be. The implementation I have been working on uses a naming marshaller that can be defined in the output.conf so the defaults could always be overwritten.
Example:
traitNameMarshaller {
defprefix:StringdefbuildName(aspect: String, tags: Seq[String]):String
}
classDefaultNameMarshaller(valprefix:String) extendsNameMarshaller {
require(prefix.isEmpty || prefix.endsWith("."), "Prefix must be empty or end with '.'")
overridedefbuildName(aspect: String, tags: Seq[String]):String= {
// Put the default naming logic here""
}
}
The META-INF/monitor/output.conf would have something like the following:
Implement a module that exposes the
CounterInterface
for the http://metrics.codahale.com/.The text was updated successfully, but these errors were encountered: