APM with ScoutApp

Hi,

ScoutApp just released v2.4 with support for Nameko. HTTP endpoints for now, but more if there is demand.

pip install scout-apm

then

from nameko.web.handlers import http
from scout_apm.api import Config
from scout_apm.nameko import ScoutReporter


Config.set(
    key=os.environ["SCOUT_KEY"],
    name="Test Nameko App",
    monitor=True,
)

class Service(object):
    name = "myservice"

    scout = ScoutReporter()

    @http("GET", "/")
    def home(self, request):
        return "Welcome home."
2 Likes