Getting started

Everything you need to send data, protect an API and get alerts.

1. Create a branch

Sign in at https://app.datagranny.net and choose New branch. Give it a name, for example Production EU. You'll see the branch's ingest key once — copy it; it's stored only as a hash and can be replaced but not shown again.

2. Send logs, traces and metrics

DataGranny accepts the standard OpenTelemetry protocol (OTLP) over HTTP. Configure any OpenTelemetry SDK or collector with:

OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.datagranny.net
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
OTEL_EXPORTER_OTLP_HEADERS=x-datagranny-key=<your branch ingest key>

That's all most SDKs need. Data appears on the branch's Overview and Logs tabs within seconds.

Only send data you're allowed to process. Email addresses and card numbers in log messages are masked automatically, but you remain responsible for what your applications log. See Security & privacy.

Using an OpenTelemetry Collector

exporters:
  otlphttp/datagranny:
    endpoint: https://ingest.datagranny.net
    headers:
      x-datagranny-key: ${env:DATAGRANNY_KEY}

service:
  pipelines:
    traces:  { exporters: [otlphttp/datagranny] }
    logs:    { exporters: [otlphttp/datagranny] }
    metrics: { exporters: [otlphttp/datagranny] }

3. Protect your API (optional)

The gateway sits in front of an API you own. Your callers use the branch's gateway URL instead of your API's address; DataGranny checks each request and forwards it to your API.

  1. On the branch's Security tab, enter your API's address, e.g. https://api.example.com, and save.
  2. Verify ownership of that domain, using either:
    • a DNS TXT record named _datagranny.api.example.com with the value shown in the dashboard, or
    • a file at https://api.example.com/.well-known/datagranny-verification.txt containing the token shown.
  3. Enable the gateway and give your callers the gateway URL, e.g. https://gw.datagranny.net/g/<route id>/orders → https://api.example.com/orders.

The gateway can then apply, in order:

RuleWhat it does
IP allow / deny listsAccept only, or refuse, the addresses and ranges you list.
Methods and body sizeRefuse HTTP methods you don't use and oversized request bodies.
API keysRequire callers to send x-api-key with a key you issued. The key is removed before forwarding.
Rate limitRequests per minute per API key, or per IP address without one.
Attack detectionBlocks (or, in monitor mode, records) SQL injection, cross-site scripting, path traversal and command injection patterns.

The gateway is included in paid plans. It is transparent: your API receives the caller's address in X-Forwarded-For. It only forwards to verified, public addresses — never to private networks.

4. Set up alerts

On the branch's Alerts tab, add rules such as error rate above 5% over 5 minutes or attack attempts above 0. Rules are checked every minute. Recipients get one email when a rule starts firing and one when it resolves.

5. Privacy settings

Each gateway has privacy settings: how caller IP addresses are stored (shortened by default, full, or not at all), whether query string values are kept (no, by default), and whether excerpts of blocked attacks are kept (no, by default).

Need help?

Email support@delimmetech.com with your organization name and branch.