on PyPI · MIT license

Observability for Python automations, in two commands.

Logs, traces and metrics from your RPA, scraper or job in a dashboard, and you choose where to look: dash-obskitpy (light and built-in) or Kibana. Local, in Docker, on open standards.

uv add "obskitpy[requests]"
uv run obskitpy init     # interactive wizard
~/my-project
How it works

From zero to a dashboard in 5 minutes

No Collector, mapping or panel setup. The CLI generates the stack and the dashboard; the library hooks up your code.

Run the wizard

Choose where to view, and it starts the stack and runs an example so the dashboard is born with data.

obskitpy init

Instrument your code

One call turns on logs, traces and metrics. Use logging as usual.

import obskitpy
shutdown = obskitpy.setup("my-service")

Open the dashboard

Errors, timings and runs are already there, ready to investigate.

obskitpy open
Overview

How obskitpy works

Your Python automation sends logs, metrics and traces; obskitpy stores everything in Elasticsearch, and you choose where to look.

Hover (or tap) any part to see what it means

Automations (Python)
Where it lives and how you see it

What you get

Everything you need to see what your robot does

Focused on people who run automations: know what failed, where and why, without building infrastructure.

A ready-made dashboard

Logs by severity, errors by type and origin, runs and the duration of each operation, from the very first init.

Traceable errors

Every log.exception() comes out with error.type, error.origin (file:function:line) and the call chain.

Dashboard as code

Edit it in Kibana, run obskitpy dashboard export and version it. Any machine recreates everything with up.

Business data together

Store what the robot extracts in the same Elasticsearch and mix robot health with the extracted data in a single panel.

Open standards

tracer() and meter() return OpenTelemetry objects. Swap the backend without touching the code.

A CLI that guides you

A colorful wizard with spinners, environment checks (obskitpy doctor), free ports picked for you and an example that already generates data.

Visual automations

Draw the flow in an n8n-style editor: trigger (errors, failed spans, robot stopped) → condition → notification in Slack, Teams, Telegram or e-mail. Learn more →

Tickets in Slack

The automation opens an incident (INC-0001) in the channel, with Assumir (Take) and Resolver (Resolve) buttons, history and an occurrence counter. A repeated error does not open another ticket. How to turn it on →

Errors explained by AI

The notification arrives with the traceback and a short explanation of the cause and what to do, written by the AI of your choice (Gemini, Claude, OpenAI, Groq, local Ollama…), with your own key. A cache and a daily cap keep token use low. How to turn it on →

You choose

Where do you want to see the logs?

One question in obskitpy init (or the --local flag) sets the interface. You can change it later.

dash-obskitpy

obskitpy's own dashboard: light, to the point, no Kibana. Period and refresh in seconds, minutes or hours, and the Realtime shortcut to watch live.

--local dash-obskitpy

Kibana

Full-featured: explore logs, traces and metrics in depth and build your own panels, versioned in git.

--local kibana

Both

dash-obskitpy for a quick look day to day and Kibana to investigate in depth, with a shortcut from one to the other. Several projects on the same stack, with a selector in the dash.

--local ambos

In your code

Three lines and the same old logging

Spans with a decorator, business metrics with the standard OpenTelemetry API and errors with automatic context.

import logging, obskitpy

log = logging.getLogger(__name__)
shutdown = obskitpy.setup("my-service")   # logs+traces+metrics

orders = obskitpy.meter("orders").create_counter("orders.processed")

@obskitpy.traced()                          # one span per call
def process(item):
    ...

try:
    process(x)
    orders.add(1, {"status": "success"})
except Exception:
    log.exception("failed")                 # + error.type/origin
    orders.add(1, {"status": "failure"})

shutdown()                                  # flushes pending data

What reaches the console

Logs with severity and traceback, traces with the duration of each step, and the business metrics you record, all from those lines.

In action

See it working

A 3-minute walkthrough of the real console (in Portuguese, dark theme). Each question is answered right away with a live demonstration.

Smart logs, robots and schedules, CI/CD with a Pull Request, and production with approval.
Architecture

Open standards, end to end

Your process only speaks OTLP. The Collector takes care of the rest, and the dashboard is a versionable file.

Your Python code obskitpy.setup() OTLP OTel Collector :4317 gRPC · :4318 HTTP writes Elasticsearch logs · traces · metrics reads Kibana dashboard obskitpy CLI · init · up · dashboard export / apply imports / exports starts the stack

Read the full architecture →

Ready to see your automations?

Install, start the stack and open the dashboard. That is all.