Comments (11)
Mh, it's supposed to be "_type" everywhere. Where did you see "type"? :)
from clip.
app.rb
from clip.
I can't get events to show up right everywhere unless I give them both a _type and a type
from clip.
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.
from clip.
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
# increment the unicorns_seen gauge by 1
incr :unicorns_seen
end
numeric (delta) gauge, 1-hour tick
gauge :unicorns_seen,
:title => "Unicorns seen"
draw a timeline showing the gauges value, auto-refresh every 30s
widget 'Unicorns', {
:title => "Unicorn-Sightings",
:type => :numbers,
:gauges => :unicorns_seen,
:include_current => true,
:autoupdate => 60
}
from clip.
How are you submitting the events? I tried the config from above with this curl line:
curl -X POST -d "_type=unicorn_seen" http://localhost:4242/events
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).
from clip.
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:
How are you submitting the events? I tried the config from above with this curl line:
curl -X POST -d "_type=unicorn_seen" http://localhost:4242/events
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).
Reply to this email directly or view it on GitHub:
#8 (comment)
from clip.
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.
from clip.
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:
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.
Reply to this email directly or view it on GitHub:
#8 (comment)
from clip.
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...
from clip.
it might just be the one behind issue complicating debugging
from clip.
Related Issues (20)
- Binaries? HOT 9
- mysql_real_connect() failed: Access denied for user 'root'@'HOST HOT 2
- Support for views
- d
- SValues from mysql backend always created as strings
- Cannot import postgresql table
- Broken pipe? anything wrong?
- Fail to compile install chartsql on centos6.7 x64 HOT 2
- Fail to make and install in Centos 7
- Crashed when trying to start Fnordmetric Server
- Building with `make -j` can cause system crashes HOT 1
- Versioned Releases HOT 1
- Ubuntu - Installation process fails - cmake . HOT 2
- Build Failure with Apple Clang 10 HOT 3
- CLI syntax in getting started guide is wrong HOT 1
- Reason for "original Microsoft Arial" and workaround ?
- A SEGV fault was discovered in clip
- A SEGV fault was discovered in clip
- A SEGV fault was discovered in function clip
- CLIP-LANG.ORG is no longer available
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 clip.