Fork me on GitHub
#datomic
<
2016-12-21
>
wei00:12:10

my transaction function works correctly with the in-memory db but I get a java.lang.ClassNotFoundException when I use a dev transactor. am I missing something?

wei01:12:50

when using :requires in a db function can I use my own code, or only standard libs? currently getting an error that it can’t locate the file on the classpath

wei01:12:04

ok, turns out I need to add a jar to the lib directory of the transactor, and then I can use :requires

geoffk09:12:39

hey guys, wondering if there's any documentation anywhere about the full set of values that get passed to the metrics callback function when provided with -Ddatomic.metricsCallback=my.ns/handler ? This page is incomplete: http://docs.datomic.com/monitoring.html

pesterhazy10:12:24

Today I learned that d/q can return d/entitys:

(d/q '[:find [?ent ...] :in $db :where [$db ?e :bar _] [(datomic.api/entity $db ?e) ?ent]] db)

pesterhazy10:12:08

How did I not know this?

pesterhazy10:12:00

we should do an advent calendar of cool things you can do with d/q

pesterhazy10:12:17

a bit late now I guess 🙂

marshall13:12:08

@kwladyka sounds like there is a dep conflict between versions of jetty in ring and in datomic client. can you resolve it with exclusions?

marshall13:12:21

it can contain any/all of the keys listed in this table: http://docs.datomic.com/monitoring.html#sec-5

geoffk14:12:46

thank you @marshall i've just found that the metrics that are actually received by the callback handler, if I enumerate through all the keys in that map include some keys that aren't documented on either of those pages - There are a bunch of Peer* metrics in the map for example when specifying the callback from a peer

marshall14:12:34

@geoffk Which specific metrics are showing up? That table specifically includes the transactor metrics.

geoffk14:12:19

that makes sense then - is there somewhere in the docs that enumerates peer metrics ? I'm specifically trying to get peer metrics logged to CloudWatch via this handler and some custom code - a good example of a key that doesn't seem to be documented anywhere is PeerFulltextBatch

geoffk14:12:58

PeerAcceptNewMsec is another

marshall14:12:06

Right. No, there is not currently a list of peer-specific metrics in the docs; I can log a request to provide one

geoffk14:12:41

that would be awesome 🙂 Yeah I'd just really like to understand what additional metrics we can surface about peers specifically