You can tell a developer’s pain by the number of browser tabs open during a deploy. One tab for CI/CD, one for tracing, one for Slack, and an unlucky one for permissions horror. Lightstep and TeamCity were built to end that circus, yet many teams never connect them properly. Doing so takes minutes, not hours, and the payoff is instant: every build tells you why something’s broken instead of leaving you guessing.
Lightstep captures distributed traces and metrics across your application stack. TeamCity orchestrates builds, tests, and release pipelines. When integrated, Lightstep becomes more than a tracer—it’s a feedback layer directly inside your CI. Each deploy shows not just success or failure but what changed at runtime and how it affected latency, errors, and throughput. The connection turns performance data into context, right where it matters most.
Here’s how the workflow fits. TeamCity runs your pipeline with a configured Lightstep agent or API key. Each build sends telemetry tagged to its commit SHA. Lightstep groups that data by service, environment, and deployment stage. The result: you can compare two releases, trace a slowdown to the commit that caused it, and explain exactly which microservice went rogue. Identity and permissions can align through your existing provider—Okta, Google Workspace, or AWS IAM—so data access stays bounded to the same rules your CI follows.
Best practices for smarter integration
First, map your environments clearly. Dev, staging, prod—each should have separate Lightstep projects and API tokens. Rotate secrets on schedule, and keep keys in TeamCity’s encrypted storage. Second, adopt ownership tags so alerts trace back to real teams, not just “backend.” Lastly, surface Lightstep’s build markers in your pipeline UI, so developers never have to hunt for the trace ID.