Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • delight delight
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • delight
  • delightdelight
  • Wiki
  • StatsFeature

StatsFeature · Changes

Page history
added StatsFeature page authored May 10, 2019 by Andreas Lauer's avatar Andreas Lauer
Hide whitespace changes
Inline Side-by-side
StatsFeature.md 0 → 100644
View page @ 056fdde2
This feature provides URL-based call statistics that are logged after
some amount of calls. Statistics are logged at INFO level.
### Configuration Options
* __stats.logInterval__ (type: Integer)
Specifies after how many request the statistics will be logged
Set options with the 'DelightConfig' for your embedded server:
DelightConfig cfg = DelightConfigFinder.getDefaultConfigBuilder()
.setOption("stats.logInterval", 500)
.build();
...
Logging output will look like this:
11:17:48.502 [pool-1-thread-83] INFO de.dfki.delight.feature.StatsFeature - 70 requests since startup (uptime 10m23s55ms):
4: http://localhost:8080/example-delight-webapp/delight/myHandler/bounceArray
4: http://localhost:8080/example-delight-webapp/delight/myHandler/hello
4: http://localhost:8080/example-delight-webapp/delight/myHandler/bounceString
4: http://localhost:8080/example-delight-webapp/delight/myHandler/bounceStringList
3: http://localhost:8080/example-delight-webapp/delight/myHandler/bounceChar
2: http://localhost:8080/example-delight-webapp/delight/_api.txt
1: http://localhost:8080/example-delight-webapp/delight/abstract/doSomething
...
Clone repository
  • DocuFeature
  • ExampleServer
  • ExampleWebApp
  • Home
  • ServerSentEventsFeature
  • StatsFeature
  • people
  • xmlrpc
    • Documentation
    • ExampleUsingConverterRegistry
    • ExampleUsingOwnConceteTypes
    • ExampleUsingOwnInterfaceTypes
    • ExampleUsingThirdPartyTypes
    • ExampleUsingXmlRpcBeans
    • ExampleUsingXmlRpcCompliantTypes

Legal Notice, Imprint, Privacy Policy