Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Use scoped emitter for page view stats #179

Closed
brendean opened this issue Aug 23, 2018 · 0 comments
Closed

Use scoped emitter for page view stats #179

brendean opened this issue Aug 23, 2018 · 0 comments

Comments

@brendean
Copy link
Contributor

Type of issue

Feature request

Description

Instead of using the globally scoped event emitter using an emitter scoped to the request should allow us to log events with context specific details (actual path and headers from the request). This would also require the context object being passed into the emit call.

Current behavior

pageview:server is emitted on the global event bus and does not include context.

Expected behavior

pageview:server is emitted on a event bus scoped to an individual request and includes the context.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant