LOGIKASign in
On this page

Coming from Sentry, Datadog or plain logs

Logika starts as a logging platform: OpenTelemetry in, everything stored, SQL out. So moving to it is mostly an SDK swap, and you can do it one service and one environment at a time, with your current tool still running. What changes is how you decide what's broken, and who reads the evidence. This page is practical: what carries over, how to run both, what's different, and what to do first.

What carries over

  • OpenTelemetry instrumentation, as it is. Your tracers and spans, their attributes, and the instrumentation libraries (Django, Flask, FastAPI, Express, HTTP clients, database drivers) keep working. You replace only the SDK setup (providers, processors, exporters) with the logika-otel enhancer; the quickstart shows the swap in Python and TypeScript.
  • Your logging. In Python, once the enhancer is initialised, the records your root logger lets through are sent with the trace and span they were emitted in, so a journey shows them under their span. In Node, the OpenTelemetry logs API or a logging library's bridge does the same.
  • Your metrics. Every data point is stored raw, as the SDK exported it, and queryable.

Everything is stored and queryable from the first minute. What's judged before you declare anything is failures: a span that closes with an error, and a log record with an exception or at ERROR or FATAL, are issues; the rest waits for your ledger. Python and TypeScript (Node, browsers, React Native) are supported today.

Coming from plain logs

If your application writes lines to stdout or a file, start the enhancer and your logging records reach Logika as they are: stored, searchable with SQL, shown in their journeys. Only the failures are judged: a logger.exception(…) or an ERROR record is an issue, with its exception and the span it ran in. Logika doesn't try to extract meaning from free text afterwards. Instead, when you ask your agent to instrument with Logika, it turns the moments that matter into spans with typed values (an order placed, a payment captured, a retry given up), which can then be counted, compared and checked.

Coming from Sentry

Sentry is very good at what it does: grouping errors, stack traces with local variables, release health, session replay, and a polished place for people to triage. Logika overlaps on the first of these. Every span that closes with an error, and every log record with an exception or at ERROR or FATAL, is an issue, with no ledger needed: one per span (or logger) and exception type, with the exception's message and stack, the journey around it, and the app versions involved.

It has no session replay, no profiling, and no screen for browsing errors: the console is a short feed of issues, and the investigating is your agent's. What it adds is what an error tracker can't see: an operation that never finished, a step that took the wrong path, a value that broke a rule, two events that contradict each other, none of which throws.

Sentry's SDK sends through its own client, so it can keep reporting errors beside the enhancer. The one conflict to watch for: if your Sentry setup installs an OpenTelemetry tracer provider of its own, the enhancer refuses to start beside it, and says so.

Coming from Datadog

Datadog is broad: APM, host and infrastructure metrics, log management, real-user monitoring, synthetics, dashboards, monitors and paging. Logika covers what your application sends (traces, logs, metrics), the issues judged from it, and analytics. It has no host agent, no infrastructure monitoring, no dashboards to build, no synthetic checks and no pager; issues arrive by email. If you depend on those, keep Datadog for them.

Code instrumented with ddtrace's own API stays Datadog's; what's instrumented with OpenTelemetry comes to Logika. If ddtrace is set to provide OpenTelemetry's API itself, it's a provider of its own, and the enhancer refuses to start beside it.

Running both side by side

The simplest way is by environment: point staging at Logika and leave production where it is, then compare a week of both. To compare on the same traffic, a Python service can send its spans to your current vendor as well, through the enhancer's provider, which is a standard OpenTelemetry one:

from opentelemetry.exporter.otlp.proto.http.trace_exporter import OTLPSpanExporter
from opentelemetry.sdk.trace.export import BatchSpanProcessor

logika = logika_otel.init(service_version="1.4.2")
logika.provider.add_span_processor(BatchSpanProcessor(OTLPSpanExporter(endpoint="https://otlp.vendor.example/v1/traces")))

Logika's encryption of pii params covers what Logika receives; the other exporter gets values as your code set them.

What changes

  • The ledger decides what's broken. Instead of alerts on thresholds, failed spans and error logs count from the start; you declare the rest: events, the paths operations take, deadlines, rules and invariants, most of them written with you later in reflection. A condition that fires when it shouldn't is a ledger edit, reviewed in a pull request; there's nothing to mute. See the ledger.
  • Issues, not alerts. An issue is a judged condition with its evidence. You get one email when new ones appear, never a reminder, and a thousand repeats are one issue with a thousand occurrences.
  • Your agent reads the evidence. An issue can wake your own coding agent, on your machine, which investigates, fixes, and reports in the same email thread: the loop.
  • SQL, not a log viewer. There's no screen of scrolling logs; you and your agent ask questions with logika query sql, in DuckDB's SQL.
  • History is short. 30 days at most. If you need a year of logs kept for compliance, Logika isn't the place for them.
  • A flat price per project, by the space your data takes, with no per-host, per-seat or overage charges. The pricing comparisons set it beside each vendor's published prices, in everyday use and in the situations where their bills grow.

What to do first

  1. Install the CLI, then logika login and logika init in the repository.
  2. Create a key for staging, swap the SDK setup in one service, and deploy it there. Production stays on your current tool.
  3. Let a few days of traffic arrive; compare what Logika raised with what your current tool reported.
  4. Ask your agent to instrument the repository with Logika, one component at a time.
  5. Once real traffic has run, have a reflection round with your agent, nock reflect logika, to write the rules.
  6. Then create a production key, and choose each environment's wake.

A short checklist

  • The old SDK setup (its providers, exporters and opentelemetry-distro) is gone wherever the enhancer runs.
  • Every service sets service_version, so a fix can be told apart from a regression.
  • One SDK key per environment, kept with your other secrets.
  • Personal data is declared pii, and the key is in .env and in your deployment's secrets.
  • The right people are subscribed to the right environments, and each has a spending limit if they want one.
  • Every alert you still need from your old tool is either a line in the ledger or stays where it is.