3 Star 0 Fork 0

mirrors_sourcegraph/sourcegraph-datadog-service-map

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Datadog Service Map Sourcegraph extension

Overview

Datadog Services Map Screenshot

The Datadog Service Map Sourcegraph Extension brings the context of Datadog APM directly into your code, both on Sourcegraph and on your code host (via the Sourcegraph Browser Extension).

  • See which services call or are called by other services
  • Go directly to the Datadog APM Service Map for your service

Setup

1. Add configuration keys to the preferred Sourcegraph settings level

To enable this extension for everyone on your Sourcegraph instance, add these to your global settings /site-admin/global-settings.

To enable it for just users in your organization, add this to your organization settings /organizations/orgName/settings.

To enable it just for yourself, add these to your user settings /user/username/settings.

"datadogServiceMap.apiKey": "DD_API_KEY",
"datadogServiceMap.applicationKey": "DD_APPLICATION_KEY",
"datadogServiceMap.env": "DD_SERVICE_MAP_ENVIRONMENT",
"datadogServiceMap.corsAnywhereUrl": "CORS_ANYWHERE_URL",

If you don't have a CORS anywhere URL, you can use the Sourcegraph demo: https://sourcegraph-demo-cors-anywhere.herokuapp.com

2. Visit a code file with a service tracer call

Visit any code file with a service call and hover over the call, like:

app.get("/", (req, res) => {
  tracer.trace("ping", () => {
    res.send("ping");
  });
});

Hovering over tracer.trace("ping", ... will display your tooltip with all called and calling services, as well as a link to go directly to the Datadog services map.

Support

If you're a an individual Sourcegraph user, email support@sourcegraph.com

If you're a Sourcegraph customer, use your existing support slack channel or email contact.

空文件

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_sourcegraph/sourcegraph-datadog-service-map.git
git@gitee.com:mirrors_sourcegraph/sourcegraph-datadog-service-map.git
mirrors_sourcegraph
sourcegraph-datadog-service-map
sourcegraph-datadog-service-map
main

搜索帮助