You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we are trying to enable higher logging level for our container-images (go version) of prebid-server but all we got in logs is
initial servers start at :8000 and :6060 ports (it is always last two messages in logs).
There is no single message in logs about http requests served. We do send requests like /openrtb2/auction and got 200 OK responses as expected, but these events are never in logs for some reason.
What we have tried is to increase verbosity of logs in Dockerfile by manipulating CMD arguments:
to no avail.
If there is any additional setting to be configured to enable request/response logging, please advise
version we are testing it on is: v0.222.0
The text was updated successfully, but these errors were encountered:
There is currently no logging of individual requests or responses in PBS-Go. You can see high level metrics like request count, CPM, bid responses, and latency through either the InluxDB or Prometheus metrics.
Are you looking for individual request and response logging for debugging during development or for production monitoring?
We are trying to indentify the source of unexplained 4xx error spikes on production setup.
Thanks for pointing to metrics.
is this actual configs for metrics scraping: #1735 ?
We do not yet have a guide for what metrics are available. I can help you on this if you wish. All Prometheus metrics are defined here in code.
Prometheus collects metrics using a pull approach and is a popular choice. InfluxDB uses a push approach and has better resolution for time series like timeouts and duration - although we've found Prometheus to be fine in practice,
We are trying to indentify the source of unexplained 4xx error spikes on production setup.
Prebid Server does not support logging full requests and responses in production due to the large amount of data it would generate. Metrics are the way to go. If you want further logging I suggest writing an analytics adapter.
I agree with @SyntaxNode that PBS should not be logging requests, but that's what analytics modules are for! That said, I'm not sure how clearly we've documented how to set that up.
Hi, we are trying to enable higher logging level for our container-images (go version) of prebid-server but all we got in logs is
initial servers start at :8000 and :6060 ports (it is always last two messages in logs).
There is no single message in logs about http requests served. We do send requests like /openrtb2/auction and got 200 OK responses as expected, but these events are never in logs for some reason.
What we have tried is to increase verbosity of logs in Dockerfile by manipulating CMD arguments:
ENTRYPOINT ["/usr/local/bin/prebid-server"]
CMD ["-v", "1", " -logtostderr"]
to no avail.
If there is any additional setting to be configured to enable request/response logging, please advise
version we are testing it on is: v0.222.0
The text was updated successfully, but these errors were encountered: