What leaves your environment
Your telemetry keeps going where it goes today: Honeycomb or your own
backend. Skep never receives it and never stores it. What reaches Skep is a
summary that skepobserver builds inside your collector: keys, types,
counts, sketches and hashes. Attribute values leave only for attributes you
class ALLOW_VALUE.
For how Skep protects the data it does hold, see Security.
What the observer does to your data
Section titled “What the observer does to your data”Nothing. The observer is read only:
- it never changes, drops, delays or reorders telemetry;
- it makes no network calls (
skepcontroldoes the uploading); - it never panics into the data path.
It costs about 1.4 microseconds of collector CPU per span. Skep’s build
enforces a budget of 5% of one core at 10,000 spans a second. When the
observer hits its memory or shape limits, it skips tracking items and
reports how many in dropped_observations. Your telemetry is never
dropped.
What the observer sends
Section titled “What the observer sends”Once per window, each observer sends one summary batch:
| Part | What it carries |
|---|---|
| Resources | Identity values (such as service.name, service.version and the environment) and the set of resource attribute keys. Per-instance identifiers (pod, host, instance id) are counted as an estimate, not listed. |
| Shapes | Per span, metric or log shape: name, kind, unit, attribute keys with their types, how often each key is present, a HyperLogLog sketch of value hashes, and counts (items, weighted items, errors). Top values only as the key’s policy class allows. |
| Map body keys | For logs with a map body (GELF, parsed JSON), the top-level keys as body.<key>, under the same policy classes as attributes. At most 64 keys per shape. |
| Log health | Counts per log shape: missing, stale or future timestamps, missing severity, records with trace context, string or map bodies. |
| Edges | Which service calls which, as entity references, with the evidence type. |
| Latency | A t-digest of durations per service and route, for root spans. |
| Coverage | Traces per bucket (service, route, status class). Values not allowed by policy are sent as hashes (h:<hash>). |
| Checks | Counts of attribute checks failed per shape (missing required, wrong type, invalid enum value, forbidden, deprecated). Never per item. |
| Log templates | Masked patterns of string log bodies, with counts (below). |
| Sensitive value counts | How many values in a field look sensitive, and of what kind. Never the values (below). |
| Sampler stats | Your sampler’s own counters, added by skepcontrol. Counts only. Policy names are sent as a 16-character hash, because names can contain service names or routes. |
| Observer health | Memory, CPU, dropped observations, and items already counted upstream. |
What it never sends
Section titled “What it never sends”- Raw span, metric or log content.
- Attribute values, except top values for keys classed
ALLOW_VALUEand hashed top values for keys classedHASH_VALUE. - The values behind a sensitive value count.
- Log bodies, except as masked templates.
- Anything about keys classed
DROP_FROM_CONTROL_PLANE.
Attribute policy classes
Section titled “Attribute policy classes”Each attribute key has a policy class that decides what leaves your environment for it:
| Class | What is sent |
|---|---|
ALLOW_VALUE |
Presence, type, a cardinality sketch, and the top values in plain text (at most 128 bytes each). |
HASH_VALUE |
Presence, type, a cardinality sketch, and the top values as hashes. |
OBSERVE_KEY_ONLY (default) |
Presence, type and a cardinality sketch. |
FORBIDDEN_IN_TELEMETRY |
Presence only, plus a FORBIDDEN_ATTRIBUTE_PRESENT finding when it shows up. |
DROP_FROM_CONTROL_PLANE |
Nothing. The key is not even part of the shape fingerprint, and it is never checked for sensitive values. |
Every key you have not classed is OBSERVE_KEY_ONLY. team.name is
ALLOW_VALUE by default, so ownership works on day one: it is
organizational metadata, not customer data.
Set classes in your organization policy under Policy, Data policy
(admins). In the policy’s spec:
spec: value_policy: allow_value: [deployment.environment.name] hash_value: [customer.tier] drop_from_control_plane: [session.token] forbid: - attribute: user.emailKeys listed under forbid become FORBIDDEN_IN_TELEMETRY. Collectors pick
up the new classes with their next runtime snapshot.
Ingest checks again
Section titled “Ingest checks again”Skep does not trust the collector alone. When a batch arrives:
- Unknown fields are rejected. An unknown field is how raw content
would get in, so the whole batch is refused with
422 raw_content_rejectedand recorded as a security event in the audit log. - Values are stripped. Skep applies your policy again and removes
plain top values for any key not classed
ALLOW_VALUE, with an audit entry. This covers a collector still running an older snapshot. - Sizes are bounded. A batch is at most 4 MB compressed by default.
Sensitive value counts
Section titled “Sensitive value counts”The observer checks string attribute values, span event attributes, resource attributes and string log bodies for values that look like:
- email addresses;
- card numbers (Luhn checked);
- US social security numbers;
- JWTs;
- AWS access keys;
- bearer tokens;
- passwords in URLs;
- private keys.
It scans at most 4 KiB per value and sends only a count per field and kind,
and how many values it checked. These counts raise
SENSITIVE_DATA_IN_PIPELINE findings, and the fix is a redaction rule at
the edge, so the values stop leaving the host at all. See
Recipes.
Masked log templates
Section titled “Masked log templates”For string log bodies, the observer sends a template, not the line. Every variable token becomes a placeholder:
| In the body | In the template |
|---|---|
| Numbers | <num> |
| Long hex strings | <hex> |
| UUIDs | <uuid> |
| IP addresses | <ip> |
| Email addresses | <email> |
| Quoted strings | <str> |
key=value |
key=<*> |
| Path segments with digits, query values | <num>, <*> |
| Any other token with a digit, or longer than 32 bytes | <*> |
For example, Accepted password for deploy from 10.0.0.7 port 52113
becomes Accepted password for deploy from <ip> port <num>. Templates are
cut to 256 bytes.
Collector keys
Section titled “Collector keys”Each collector authenticates with a collector key (skc_). A collector key
can only register the collector, fetch its runtime snapshot, send
heartbeats, upload batches, and connect over OpAMP. It cannot read
anything else: every other route answers 403 forbidden. A key on every
host is the most widely spread credential you have, so it can do the least.