Hi Michael,
The 0.6257.467 part is the Erlang PID processing the result.
Your best bet to time the duration of the request is to use haproxy
ahead of CouchDB itself, and use haproxy's extensive logging features to
get the timings you desire.
Best regards,
Joan Touzet
- Original Me
Hello,
I noticed couchdb logging looks like:
[Mon, 11 Jul 2016 13:33:36 GMT] [info] [<0.6257.467>] ###.###.###.### - -
METHOD PATH RESULT
I was wondering, if the 0.6257.467 is the duration of the request? If not, is
it possible to reconfigure the couchdb log format to include the durat
Aye - thanks for the clarification Alex
On Friday, 21 March 2014 at 08:18, Alexander Shorin wrote:
> On Fri, Mar 21, 2014 at 12:12 PM, Simon Metson wrote:
> > With python you can use the logging module to send logs (of tests or
> > anything) to couch. There's even an http
On Fri, Mar 21, 2014 at 12:12 PM, Simon Metson wrote:
> With python you can use the logging module to send logs (of tests or
> anything) to couch. There's even an http log handler (forget the name and
> don't have enough of an internet connection to remind myself...) that
With python you can use the logging module to send logs (of tests or anything)
to couch. There's even an http log handler (forget the name and don't have
enough of an internet connection to remind myself...) that makes this super
easy.
On Friday, 21 March 2014 at 05:42, Alexan
can capture the base UT runtime stuff and show the pass
> fail results...but taking this information, along with anymore detailed
> logging and storing it in a central DB for use later on is what I'm looking
> for. Not overly hard to do...but that's
ntime stuff and show the pass
fail results...but taking this information, along with anymore detailed logging
and storing it in a central DB for use later on is what I'm looking for. Not
overly hard to do...but that's what I'm asking the community about: if anyone
has done thing's
Hi,
Do you mean under "unit test logging with CouchDB" actually storing
unittest results as CouchDB documents?
--
,,,^..^,,,
On Thu, Mar 20, 2014 at 6:08 PM, Knudsen, Ken
wrote:
> Hi Everyone,
>
>Obviously there's a thousand plus ways of doing this...Has anyone
Hi Everyone,
Obviously there's a thousand plus ways of doing this...Has anyone
implemented or worked with unit testing frameworks but instead of using that
frameworks built in logging mechanism, broke out that logging part and used
couchDB instead? With couchDB there wouldn'
Update handlers just move logic to the server side, they are not
atomic or transactional, only the document update itself is. In other
words, you *can* get a 409 conflict using an update handler.
B.
On 13 November 2011 09:24, Marian Steinbach wrote:
> Sounds like the relation-document way (havin
Sounds like the relation-document way (having a songaccess doc,
equivalent to having had a songaccess table) would be the easiest one.
I'll have to look into update handlers though.
Thanks guys!
this might be easiest to achieve with a an update handler.
you can create all kinds of atomic transactional things like that, on a
single document though.
the user requests the update handler, which updates the count for that
user, and returns the song info, all in one request.
On Sun, Nov 13, 2
You can put it in the user doc or have a third doc. You can't have it on
the song doc, because when many users are writing to it, it will cause rev
mismatch errors.
regds,
mano
g>>
Date: Sat, 12 Nov 2011 15:26:58 -0500
To: "couchdb-u...@apache.org<mailto:couchdb-u...@apache.org>"
mailto:couchdb-u...@apache.org>>
Subject: Document design: Logging accesses to an item by a user
Hi!
I'm trying to think in CouchDB documents (coming from an
I personally would create a third "access" doc type. It would have a link
both a song and a user doc.
Hi!
I'm trying to think in CouchDB documents (coming from an SQL
perspective) and I am wondering how I should set up my documents to
represent the following.
I have users who play songs as often as they want. Whenever they
access a song, in the SQL world I add a record to a song_access table
that
Its not the prettiest, but you can do this:
Log(lists:flatten(io_lib:format("~p", [Val])))
On Thu, Oct 6, 2011 at 5:34 PM, Thomas Van de Velde
wrote:
> Hi,
>
> Is there a way to log from within an Erlang view? I am trying to reproduce
> the unit test for the list function and am getting an erro
Hi,
Is there a way to log from within an Erlang view? I am trying to reproduce
the unit test for the list function and am getting an error. I'd like to log
the value of "Val" so I can understand the underlying data structure. I
tried error_logger:info_report(Val). Thanks!
Output from view:
{"tot
On 12 November 2010 00:27, Andrei Varanovich wrote:
> Do you mean in the http://127.0.0.1:5984/_utils/config.html ?
> The thing is that I cannot get access to it as soon as I am not logged in.
you can edit the local.ini file directly from notepad or your editor
of choice, then restart couch from
Subject: Re: Error while logging in
just remove the admin user from the [admins] config section
On 11.11.2010, at 12:04, Andrei Varanovich wrote:
> Hi all,
>
> Running CouchDB 0.11 on Windows Server 2003 x64.
> Created an "admin" user. Try to log in and get "Error
just remove the admin user from the [admins] config section
On 11.11.2010, at 12:04, Andrei Varanovich wrote:
> Hi all,
>
> Running CouchDB 0.11 on Windows Server 2003 x64.
> Created an "admin" user. Try to log in and get "Error logging in:
> function_clause"
Hi all,
Running CouchDB 0.11 on Windows Server 2003 x64.
Created an "admin" user. Try to log in and get "Error logging in:
function_clause".
Are there any ways to switch CouchDB in the "Admin Party" mode?
Thanks,
Andrei
Hi Folks,
I have a community use case where I need to track:
a) user id
b) user action
c) doc._id
e) date.time
Wiki talks about short doc._id values making a huge difference on
storage and performance. I am assuming that the same arguments also
apply to view indexing as it uses the same b-tree in
Yup, use the log() function. :-) It will spit whatever you pass it to the log,
including the json of objects/arrays/etc.: log(doc).
Cheers,
--
Sam Bisbee
Sent from my mobile phone.
--Original Message--
From: Cory Zue
To: user
ReplyTo: user@couchdb.apache.org
Subject: Logging
Sent: May
Is there an easy way to log something from within a couchdb
view/filter/update method?
thanks,
Cory
o non-rdbms storage systems. I am working on an application in
>> >> which we need to log different user actions as plain text. I am not of
>> the
>> >> opinion to make use of our rdbms for this activity as writing this on a
>> >> rdbms can be an expansive proces
am working on an application in
> >> which we need to log different user actions as plain text. I am not of
> the
> >> opinion to make use of our rdbms for this activity as writing this on a
> >> rdbms can be an expansive process.
> >>
> >>
&
DB for this activity? Also I am looking to store
>> all
>> the attachments or BLOB into some non-rdbms solution. Can I make use of
>> CouchDB here as well. This way I will just have to add one network
>> component
>> to address file storage and logging of user action.
re
> all
> the attachments or BLOB into some non-rdbms solution. Can I make use of
> CouchDB here as well. This way I will just have to add one network
> component
> to address file storage and logging of user action.
>
>
>
> I would probably need to show the logged informa
for this activity? Also I am looking to store all
the attachments or BLOB into some non-rdbms solution. Can I make use of
CouchDB here as well. This way I will just have to add one network component
to address file storage and logging of user action.
I would probably need to show the logged
30 matches
Mail list logo