Skip to content

Docs

Start

  • How Otherlode fits together: What Otherlode finds, the parts that find it and where each one runs, what leaves your network, and which page to read next.
  • Quickstart: Attach the agent to one service on your machine, send straight to Otherlode with an ingest key, then see the service and its first report.

Agentv0.1.0

  • Attach the agent: Get the agent jar, add -javaagent to a plain java launch, a Gradle run task, a Spring Boot fat jar, or a container, and confirm the agent is running.
  • Configuration options: Every agent option with its default, accepted values, system property and environment variable, how the agent resolves each value, and how it reads OpenTelemetry's settings.
  • Methods and branches: What the agent counts in your methods and conditionals, what it leaves out, and how it labels a method or an outcome that no one should delete.
  • Endpoints: Which web frameworks the agent counts endpoints for, how it names an endpoint, when it counts one, and how it joins an endpoint to its handler.
  • Classes: Every state the agent can report a class in, what puts a class there, the static baseline that finds classes that never load, the class listing that shows removed code, and which generated classes the agent leaves out.
  • Dependencies: How the agent reports which of your service's libraries are unloaded, unreferenced, or unreached without putting a probe in library code.
  • Unreached code and the call graph: Why a list of never-hit methods is not enough, how call edges group unreached code into clusters, and what each kind of cluster root tells you about deleting it.
  • Test your app against the agent: Run the agent in your test JVM, start the testkit's collector, and assert which methods, endpoints and classes your tests exercised.
  • Testkit API: Every public type, query, wait, exception and system property of the testkit, with the class-name format and the compatibility promise.
  • Name the tests that call your code: Run the agent in your test JVM with testRun so Otherlode can name the tests that call a method production never does.
  • Compatibility: The JDKs, class-file versions, compilers, frameworks and other agents the Otherlode agent works with, and what changes when it shares a JVM.
  • Runtime overhead: What the agent costs a running service, where the cost falls, and what makes it grow.
  • What the agent sends: The requests the agent makes, what each payload contains, when it is sent, what it never contains, and what happens when Otherlode or the collector is down.
  • How the agent works: How the agent counts in each class it instruments, pushes cumulative totals to Otherlode, and leaves your classes loading as they would without it, so you can judge whether to run it in production.
  • Troubleshooting: Find the cause of an Otherlode agent log line or a missing report, organised by what you see, with the exact message, the cause and the fix.

Collectorv0.1.0

  • Add a collector: When to put a collector between your agents and Otherlode, what it adds and what it doesn't, and how to move an agent onto or off a collector.
  • Deploy the collector: Run the container image with an agent token, put a TLS proxy in front of it, confirm it is up, try it with no forward URL, point agents at it, and forward to Otherlode.
  • Configuration: Every collector setting with its default, accepted values and what an invalid value does, plus the command line, the healthcheck subcommand and the proxy and Go variables that change its behaviour.
  • Set and rotate tokens: Set the agent token from a variable or a file, rotate it without refusing an agent, set and rotate the forward key, and see how the collector re-reads token files and mounted secrets.
  • Forwarding: How the collector forwards each payload to Otherlode while the agent's request waits, what the agent gets back, and the limits, logs, counters and settings that apply.
  • Set the environment and namespace: Label every payload with an environment or a service namespace from the collector, choose whether the collector's value or the agent's wins, read the mismatch counters, and see how test runs behave.
  • Blank out string literals: What the collector blanks in branch conditions and case labels, the two settings that turn blanking on, with pattern examples, the secret that re-keys branch and site keys, the case keys it clears, the header it sends upstream, the unknown fields it drops while blanking is on, and the counters and logs that show it working.
  • Rate and memory limits: The per-address rate limit, the client IP header, the IPv6 prefix, the 16 MiB body limit, the element limit, the decode cap, the forward limit, the request time budget, and how to bound the collector's worst-case memory.
  • Health checks, metrics and logs: The /healthz endpoint and the healthcheck subcommand, every counter on /metrics with its labels and when it rises, which counters to alert on, and the log format and levels.
  • What the collector sends: What the collector receives, what it checks and rejects, what it changes before it forwards, including re-keyed branch and site keys, the request it sends, what it never adds, what it stores, and what it logs.
  • How the collector works: Why the collector sits in your network and keeps nothing, why it answers 202 only once Otherlode has stored the payload and 503 otherwise, why it refuses to start on a bad setting, and what happens when the collector and the agent are different versions.
  • Troubleshooting: Find the cause of a collector that will not start, an agent that gets a 401, 404, 405, 413, 415, 429, 400 or 503, a payload that Otherlode did not store, a 403 for redaction, a payload that Otherlode stores but does not track, branch history that starts over, the stripped-fields warning, a token rotation that did not apply, a shared rate limit or a failing healthcheck.

Findings and accounts

  • Send data to Otherlode: Create an ingest key, point your agents or your collector at ingest.otherlode.dev with it, confirm the service appears, and read what ingest answers.
  • Sign-in and sessions: How people sign in to Otherlode, who can sign in, when the tenant picker appears, every way a session ends, and what each sign-in error message means.
  • Manage users and roles: Add users, change their roles, delete them, and know what the last-admin rule and directory sync do to a tenant's users.
  • Manage API keys: Create an ingest or read key, copy its plaintext before the sheet closes, read the key list, revoke a key, and replace a key without a gap.
  • Set up single sign-on: Connect your identity provider through the Admin Portal, verify your email domain, enforce SSO, and turn on just-in-time provisioning.
  • Require redacted payloads: Make ingest refuse every payload that did not come through a collector with redaction on and your secret, find the fingerprint it checks, read the refusals, and know what it does not stop.
  • Audit log: What the audit log records, who can read it, how each action and actor reads in Otherlode, and when an event's client address is cleared.
  • Scope and environments: The three filters that choose which runs a read counts, how a run gets its environment, and how the web app and the read API apply them.
  • Dates: What each date in the web app and the read API means, which clock sets it, which scope changes it, and when a date is capped.
  • Findings: What each finding in a service's panel claims, what it needs before it can claim anything, what it leaves out, and what its page filters and shows.
  • Unreached clusters and the code path graph: What the Unreached clusters page lists and leaves out, how Otherlode labels each cluster root, and how to read the code path graph on the service overview and class pages.
  • Inventory: The service list and the seven Inventory pages of a service, with what each lists, its columns and filters, and how Otherlode reads class, handler and namespace names.
  • Read API: Every route of the read API, with its authentication, parameters, paging, response fields and errors.
  • What Otherlode keeps: What Otherlode stores from each payload, about refused payloads, about people and about API keys, how tenants are kept apart, what an operator removes on request, and what Otherlode sweeps on its own.
  • How findings are judged: Why Otherlode stores each run apart, merges counts so retries and restarts cannot inflate them, judges the report and the main finding pages in the background for the scopes people open most, and everything else when you read, and leaves some stored code unjudged, so you can decide how far to trust a finding.
  • Troubleshooting: Find the cause of a refused forward, a missing service or finding, a count with a tilde, a sign-in error or an API error, organised by what you see.