Set up Cloud diagnosis

Run a diagnosis in Tellagen's cloud by installing a small proxy next to your Grafana. It takes four short parts, and you can hand any of them to a teammate.

What you need
You need to be an admin. A teammate you send a part to needs a Tellagen account in the workspace.

The proxy is a container you run in Kubernetes, Docker or Docker Compose, where it can reach your Grafana. It connects out to Tellagen on port 443, and nothing connects in.

Steps

  1. Name the proxy

    Go to Settings → AI diagnosis → Cloud and select Add proxy. Give it a Name, pick an Environment, choose where it runs under Where will the proxy run?, then select Continue.

    You can stop at any point. Continue setup on the proxy brings you back.

  2. Make a Grafana token

    Type Your Grafana address, select Open this page in Grafana, then select Add service account in Grafana.

    Tap to enlarge.

    Name it tellagen-proxy (Copy the name copies it) and choose the role Viewer.

    Tap to enlarge.

    Add a token with an expiry date and copy it. Tellagen never sees it. Then select I have the token.

    Tap to enlarge.
  3. Run the proxy

    Save the proxy token with Download token file or Copy token, because Tellagen shows it once. Check the Grafana address the proxy uses, as the proxy sees it. Use Grafana's inside address, such as http://grafana.monitoring.svc:3000. A public name behind a VPN or Cloudflare Zero Trust asks the proxy to sign in, and it can't.

    Run the commands the page prints, then select I ran the command. With Helm, the first command makes the Secret. With Docker or Docker Compose, save both tokens as files in the folder where you run the command. See Install the proxy.

  4. Check that it connects

    Five checks update by themselves. When the first four pass, choose the datasources under What may Tellagen query?, wait for Test query worked, then select Finish setup.

  5. See what Ask can answer (optional)

    On the proxy's page, find What Ask can answer from this proxy and select Check now. It lists the measures Tellagen found in your alert rules, such as p99 latency, and the services with no rule yet. Select Check again after you change a rule. A suggested question opens Ask with that question ready to send.

  6. Hand a part to a teammate (optional)

    If someone else makes the Grafana token or runs your servers, select I cannot do this in Grafana or Send the command to a teammate. Pick the person under Who gets the setup?, then select Copy link or Send by email.

    The link works once, for that person only, for 7 days. It never holds the proxy token. You finish the setup yourself.

  7. Change or remove a proxy

    Select the proxy in the list, then Edit to change its name or addresses. When a newer version is out, the proxy shows the upgrade command.

    Select Rotate token for a new token. The old one works for 24 hours, or stops at once with Rotate and end old token.

    Select Revoke proxy… to stop a proxy for good, or Delete… to remove one that never connected.

What happens next

  • The proxy shows as Online in the list.
  • To run a diagnosis, open an incident's Diagnosis tab, pick Tellagen cloud under Runs on, then select Run diagnosis. Or start one from Slack.
  • Choose what the AI may read. See What Tellagen receives.

FAQs

  • “The proxy reaches Tellagen” is still red after 5 minutes. What now?

    The proxy can't reach Tellagen. Run the doctor command shown under Nothing after 5 minutes? where the proxy runs, and read the first line marked [fail]. The proxy needs an outbound connection to connect.tellagen.com on port 443.

  • “The proxy token is accepted” fails. Why?

    The proxy uses an old token. Select Get a new token, put the new token in place of the old one, and run the command again.

  • “The proxy reaches Grafana” or “The Grafana token works” fails. What do I check?

    The address or the token. Use the Grafana address as the proxy sees it from inside its network. For a company certificate, see Connect the proxy through a corporate network. A token that's wrong, expired or not Viewer needs a new one. Make it, then select Back to the command.

  • “Datasources found” fails. Why?

    Grafana has no datasource that the token can see. Add one in Grafana, and the page finds it by itself. A diagnosis needs a Prometheus or Loki datasource.

  • I left the setup for a while. Can I still finish it?

    Yes. Select the proxy in the list, then Continue setup. A setup that isn't finished in 7 days is revoked, and Continue setup then gives you a new token.

Related guides

Updated . Something out of date? Write to [email protected]. Open Markdown version