Is it possible to trace a Service Rest Rule in Production?

Is it possible to trace a Service Rest Rule in Production?As i have read various articles that via remote tracer we can but when I said the same it was not correct answer,so what should be the answer then?

You are able to trace Service-REST rules:

  • Prerequisite to start tracing: make sure DATA-ADMIN-SYSTEM-SETTINGS PEGA-RULESENGINE!TRACE/CLUSTER/SERVICERULEWATCHMAXPRODUCTIONLEVEL allows for production level 5
  • You can use the tracer tool on the Service-REST rule
  • Alternatively, you can enable service monitoring, or you can use Log-Message steps within the service execution.
1 Like

Yes, it is technically possible to trace a Service-REST rule in Production, but it is intentionally restricted and not recommended as a routine practice. What you can do depends on production level, DSS settings, deployment model, and what you mean by “Tracing.”

When someone says “No, you cannot trace Service-REST in production,” they are usually referring to: Real-time interactive Tracer attached to production traffic, which is correctly restricted by default.

For “Yes, it is possible,” refers to: Controlled tracing via Remote Tracer, service monitoring, or logs, which is possible under strict conditions.

Both answers can be correct - IMO its context driven.

2 Likes

this DSS rule do we need to set in Prod or if suppose i am already making it as 5 in test environment will it work?

Service monitoring needs to be enabled in Service package right?

@TanyaS58 - Please refer the below mentioned article, we have briefly explained the service rest functionality and how to trace it also. Service REST - its Configuration, Debugging & Error handling - OneStopPega

2 Likes