# Send your first telemetry This guide sends one synthetic trace, a log correlated to that trace, and a gauge measurement to Corridora. It verifies the ingest connection before you introduce an application SDK or Collector. You need access to a Corridora organization, an active ingest key, Python 3.7 or later, and `curl` with `--fail-with-body` support (7.76 or later). An organization administrator can create the key. The samples are ordinary stored telemetry and count toward your organization's usage. ## 1. Get the endpoint and ingest key 1. Sign in and select your organization. 2. Open **Configuration → Keys**, select **Ingest**, choose **Add key**, enter a label, and select **Save**. Copy the one-time secret. 3. Copy the OTLP base endpoint displayed during onboarding or supplied for your deployment. Use an ingest key for this task. Query/management API keys are a different credential type. See [access and keys](../../platform-admin/administer/access-and-keys.md). In a terminal, set the endpoint and load your key without putting the literal secret in shell history: ```sh export CORRIDORA_OTLP_ENDPOINT='https://YOUR_INGEST_HOST' export CORRIDORA_INGEST_KEY="$(python3 -c 'import getpass; print(getpass.getpass("Ingest key: "))')" ``` Replace `https://YOUR_INGEST_HOST` with your actual base endpoint. Do not append `/v1/traces`; the send commands below add each signal path. Do not enable shell command tracing while using credentials. ## 2. Generate current sample data Save the [sample generator](../examples/generate-telemetry.py) as `generate-telemetry.py` in your working directory. If you have the public documentation directory locally, you can run its `examples/generate-telemetry.py` instead. ```sh telemetry_dir="$(mktemp -d)" python3 generate-telemetry.py --output-dir "$telemetry_dir" ``` The script makes no network requests. It writes `traces.json`, `logs.json`, `metrics.json`, and `events.json`, then prints a fresh trace ID, span ID, and timestamp. Keep the printed trace ID for verification. The default service name is `corridora-quickstart`. Run the generator again if you return to this guide later. Reusing old payloads retains their timestamps and IDs, which can put records outside your current time window or produce duplicate or confusing results. ## 3. Send the trace, log, and metric ```sh for signal in traces logs metrics; do curl --silent --show-error --fail-with-body \ --connect-timeout 10 --max-time 30 \ --write-out "\n${signal}: HTTP %{http_code}\n" \ -H "X-CORRIDORA-KEY: ${CORRIDORA_INGEST_KEY}" \ -H 'Content-Type: application/json' \ --data-binary "@${telemetry_dir}/${signal}.json" \ "${CORRIDORA_OTLP_ENDPOINT%/}/v1/${signal}" || break done ``` Expect HTTP `200` for each request. The response body can be empty. A successful request means the ingest handler accepted the request; verify the resulting records in the UI as well. Processing, rules, and indexing can affect what becomes visible. If the loop stops with an error, use the response body and the [ingest error reference](../reference/ingest.md#http-errors). Fix the problem before retrying. These one-shot commands do not configure production retry or buffering behavior. ## 4. Find the records 1. In Corridora, select the organization that owns the key. 2. Choose a recent time range covering the generation time. Clear any project filter that excludes this new service. 3. Open **Telemetry → Traces** and search for the printed trace ID. Expect a trace containing `quickstart.operation` with a duration of approximately 100 milliseconds. 4. Open **Telemetry → Logs** and select service `corridora-quickstart`. Find `Quick start operation completed` and inspect its trace association. 5. Open **Telemetry → Metrics** and find `corridora.quickstart.value`. The sample is a gauge point with value `1`, not a recurring stream. Refresh after a short interval if data has not appeared. For persistent gaps, follow [missing or unexpected telemetry](../troubleshoot/missing-data.md). ## 5. Connect a real producer Choose the next guide for your application: - [Collector setup](../collect/collector.md) for backend traces, logs, and metrics. - [Browser RUM](../collect/browser-rum.md) for page performance, browser errors, and sessions. - [Operational events](../collect/events.md) to send the generated deployment example or instrument your deployment pipeline. The sample trace is synthetic and has no browser session or real backend dependency. To follow a real request across those boundaries, complete the [browser-to-backend walkthrough](../../operator/investigate/browser-to-backend.md). When finished with this terminal session, remove its credential variable: ```sh unset CORRIDORA_INGEST_KEY ``` Return to the [documentation index](../README.md).