> For the complete documentation index, see [llms.txt](https://docs.sealights.io/knowledgebase/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealights.io/knowledgebase/setup-and-configuration/troubleshooting-faq/golang/how-to-confirm-my-deployed-golang-app-binary-is-instrumented.md).

# How to Confirm My Deployed Golang App Binary Is Instrumented

## Problem

You do **not** see any Sealights‑related instrumentation output in your application logs, and your service does **not** appear listed in the **Live Agents** page in the Sealights Cockpit.

You’re unsure whether:

* the binary was properly instrumented, or
* the environment prevents the agent from activating

## Solution

### Quick Environment Checks

#### **Enable verbose Sealights logs**

Make the agent print startup information:

```bash
export SEALIGHTS_LOG_LEVEL=debug
export SEALIGHTS_DISABLE_ON_INIT=false
```

Restart the app (or container) and check logs.

#### **Check the token and connectivity**

* Ensure a valid Sealights token is provided (env var, config, secret).
* Confirm the app can reach the Sealights endpoint (network, proxy, DNS).

*A missing token or blocked network path prevents the agent from initializing.*

### Binary Level Verification

To confirm whether the binary was correctly instrumented, inspect it for the internal Sealights probe symbols. Run

{% tabs %}
{% tab title="Bash" %}

```bash
go tool nm <your-executable> | grep "__sealights__"
```

{% endtab %}

{% tab title="Powershell" %}

```powershell
go tool nm <your-executable> | Select-String "__sealights__"
```

{% endtab %}
{% endtabs %}

If no output appears, the binary is not instrumented. Otherwise, you'll see lines such as:

<figure><img src="/files/xXAWfpl7Yk7HrghiA0L4" alt=""><figcaption></figcaption></figure>

## **If the Binary Is Not Instrumented**

Check the following in your build pipeline:

* Sealights instrumentation step actually ran
* Instrumentation was executed **on the final compiled binary**, not an intermediate artifact
* The correct artifact was deployed
* No stripping/minification removed symbols


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sealights.io/knowledgebase/setup-and-configuration/troubleshooting-faq/golang/how-to-confirm-my-deployed-golang-app-binary-is-instrumented.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
