惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
有赞技术团队
有赞技术团队
V
Visual Studio Blog
T
The Blog of Author Tim Ferriss
爱范儿
爱范儿
Vercel News
Vercel News
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Y
Y Combinator Blog
Blog — PlanetScale
Blog — PlanetScale
D
DataBreaches.Net
美团技术团队
Microsoft Security Blog
Microsoft Security Blog
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
酷 壳 – CoolShell
酷 壳 – CoolShell
GbyAI
GbyAI
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
The Cloudflare Blog
宝玉的分享
宝玉的分享
V
V2EX
Microsoft Azure Blog
Microsoft Azure Blog

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Use Datadog’s Sourcegraph extension to navigate code and ...
Kai Xin Tai · 2022-02-04 · via Datadog | The Monitor blog
Kai Xin Tai

Kai Xin Tai

Sourcegraph is a universal code search tool that enables you to easily navigate and understand all of your code, regardless of the number of repositories you have and where they’re hosted. Its built-in code intelligence feature lets you jump to the definition and references of functions and variables, helping you learn new codebases faster. You can also use Batch Changes to automate large-scale code changes, which eliminates the need to manage hundreds of pull requests and minimizes the risk of making breaking changes.

Today, we’re excited to announce the release of the datadog-service-map Sourcegraph extension, which brings Datadog APM’s knowledge of service dependencies to your code search workflow. Now, as you’re exploring your code in Sourcegraph, you can see how your services call each other and then pivot seamlessly to Datadog APM for additional context around their performance. And if you find a bug that’s causing an increase in errors or latency, you can easily locate all impacted services, specify the fix once, and apply it everywhere with Sourcegraph.

See where requests are coming from

In complex, distributed environments, it’s important to understand the relationships between services in order to optimize application performance and troubleshoot issues. For instance, knowing which clients are making calls to a service—and what kinds of traffic to expect from them—can inform code design and resource allocation decisions. Once you enable our Sourcegraph extension, you can hover over the code for a service to see which other services are making calls to it. This way, you no longer have to crawl through heaps of code to figure out how services are connected to each other.

Hover over code to see which services make calls to it as well which ones it makes calls to

Our extension also allows you to seamlessly pivot from Sourcegraph to Datadog APM’s Service Map for a visual representation of your application’s topology. In the Service Map, each service node is accompanied by its key performance metrics—throughput, latency, and error rate—which can help you identify potential issues. For instance, if you see that a service is returning a large number of errors that are causing upstream services to fail, you can examine its request traces—as well as its logs and processes—to determine the root cause of the issue.

View performance metrics like throughput, latency, and error rate in Datadog APM

Ensure API calls hit the right endpoints

If you’re refactoring your application, you need to ensure that you’re making calls to the right endpoints as your internal APIs evolve. Just like how you can see where requests to your service are coming from, our Sourcegraph extension also allows you to identify which downstream services you’re calling. You can then drill into any of these downstream services in APM to see its full list of endpoints. Information in APM is updated in real time, so you’ll always have the latest view of your service fleet, even as the implementation of individual services continues to evolve. For instance, if you want to replace an endpoint with a newer version, you can leverage Sourcegraph’s Batch Changes to apply the change across your entire codebase—and use APM to verify that requests are, in fact, hitting the new endpoint.

Smarter code navigation with Sourcegraph and Datadog APM

The datadog-service-map extension is now available in the Sourcegraph extension registry. When used together, Datadog APM and Sourcegraph enable you to both understand your services’ health and dependencies in production—and navigate your entire codebase to fix issues quickly and precisely. If you’re not yet using Datadog to monitor your applications, sign up for a 14-day free trial today.