This message was deleted.
# general
s
This message was deleted.
h
Copy code
const extra = { extra : { duno: "foo", whatever: "bar" } };

app.listen(port, () => {
  logger.log('info', 'Example app listening at <http://localhost>:%d', port, extra);
});
Is there a way to extract this or let my use it in queries?
in DDog I used to put in here stuff like the
batch_id
or a
customer_id
which makes it easy to debug
h
s
Yes, that will help for injecting trace context which will help in correlation
h
or does this only work, because trace_id, span_id and trace_flags is already part of the collector ?
btw. I have no issue just talking to the collector via IP - metrics already need this hack
s
As you can see from the description, it is your winston logger + trace context injected.
h
I think this just adds the 3 fields to
<http://logger.info|logger.info>( ...
ok -check-
I go with the userguide you send me 🙂