Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## [Unreleased]

### Fixed

- `Configuration::LOCAL_ENDPOINT_PATH`, the class docs and the README's
self-hosting example pointed at `/active_agent/api/traces`, a path no
current dashboard mount serves. The actionagent engine ingests at
`<mount>/api/traces` and is mounted at `/activeagents` by default, so the
constant and the docs now say `/activeagents/api/traces` and note that a
custom mount changes the prefix. (#3)
Comment thread
TonsOfFun marked this conversation as resolved.

## [0.2.0] - 2026-08-14

### Added
Expand All @@ -18,8 +29,6 @@
the application sends the model, so enabling this is a data-handling
decision — the truncation is a cap on trace size, not a redaction boundary.

## [Unreleased]

## [0.1.0] - 2026-08-10

First public release of both gems: `activeagents-telemetry` (the shared
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,16 @@ backtraces are never transmitted.

## Self-hosting

Point the endpoint at your mounted dashboard — same gems, same wire format:
Point the endpoint at your mounted dashboard — same gems, same wire format.
The dashboard engine ingests at `<mount>/api/traces`; its install generator
mounts it at `/activeagents`, so on a default install that is:

```ruby
config.endpoint = "https://your-app.example.com/active_agent/api/traces"
config.endpoint = "https://your-app.example.com/activeagents/api/traces"
```

If you mounted `ActionAgent::Engine` somewhere else, use that prefix instead.

## Development

```bash
Expand Down
10 changes: 7 additions & 3 deletions lib/activeagents/telemetry/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ module Telemetry
# end
#
# A self-hosted ActiveAgent dashboard is the same thing with a different
# endpoint — point it at "https://your-app.example.com/active_agent/api/traces".
# endpoint — point it at "https://your-app.example.com/activeagents/api/traces"
# (the actionagent engine's default mount; adjust the prefix to wherever
# the host app actually mounted ActionAgent::Engine).
class Configuration
# The hosted platform. Self-hosters override `endpoint`.
DEFAULT_ENDPOINT = "https://api.activeagents.ai/v1/traces"

# Path a mounted ActiveAgent::Dashboard::Engine serves traces on.
LOCAL_ENDPOINT_PATH = "/active_agent/api/traces"
# The ingest path of the dashboard engine (ActionAgent::Engine) at its
# default mount. The engine ingests at "<mount>/api/traces", so a host
# that mounted it elsewhere uses that prefix instead.
LOCAL_ENDPOINT_PATH = "/activeagents/api/traces"

# Attribute keys scrubbed from spans before delivery. Name-based — a
# secret inside free text is not caught; see the wiki's privacy page.
Expand Down
Loading