New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistency between _type and type #8
Comments
Mh, it's supposed to be "_type" everywhere. Where did you see "type"? :) |
app.rb |
I can't get events to show up right everywhere unless I give them both a _type and a type |
That's strange. Can you maybe paste your server-file and how you are submitting the events? :) the "/:namespace/events"-action in app.rb renders the left column of the "Active Users" dashboard, so it's not involved in the event-processing. |
If I only use _type I end up getting blank event types in the ActiveUsers widget. on every event like { _type: 'unicorn_seen' }event(:unicorn_seen) do numeric (delta) gauge, 1-hour tickgauge :unicorns_seen, draw a timeline showing the gauges value, auto-refresh every 30swidget 'Unicorns', { |
How are you submitting the events? I tried the config from above with this curl line:
Is it possible that you submitted some events with a missing _type field earlier? In that case you could flush your redis-db (or just ignore it). |
Using the raw netcat example from the docs - I also have been flushing my redis pretty regularly while testing this out. On Wednesday, December 28, 2011 at 12:15 PM, Paul Asmuth wrote:
|
Can you get a blank type in the typelist just by submitting the netcat line from the readme? The only way I could get it was when I removed the leading underscore from "_type". However, I made a change, so the blank item won't show up anymore. |
Kill the blank row helps a bit. There seems to be some oddities with getting the first few results to show up when I submit an event with only a _type, but I haven't narrowed anything else down enough to give you much to work with. Thanks for the responsiveness! On Wednesday, December 28, 2011 at 12:27 PM, Paul Asmuth wrote:
|
Mh, maybe it's only the very first event, that is not showing up? The "feed view" in the "Active Users" Dashboard is always one event behind... |
it might just be the one behind issue complicating debugging |
it seems some places expect _type, and others type, as the key for the event type?
The text was updated successfully, but these errors were encountered: