如何从新的遗物的重新集成到新遗物中获取标签?

发布于 2025-01-24 02:47:55 字数 177 浏览 2 评论 0原文

我有一台Redis服务器,我刚刚在上面安装了新的Relic基础架构代理。有关该实例的数据正在向新遗物报告,但是我包含的标签在网站上丢失。

我在配置中有一个应该按照文档作为标签浏览的内容,但是在网站上不可见:

labels:
      environment: staging

I have a Redis server which I've just installed the New Relic infrastructure agent on. The data about the instance is reporting to New Relic however the tag I included is missing on the website.

I have this in the config which should pull through as a tag as per the documentation however it's not visible on the website:

labels:
      environment: staging

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

独留℉清风醉 2025-01-31 02:47:55

YAML可以通过间距很罚款 - 也许在标签下仅尝试2个空格 stanza类似?

labels:
  environment: staging

您还可以检查基础架构代理日志以查看是否存在一些解析错误。

yaml can be finnicky with spacing - maybe try with only 2 spaces under the labels stanza like this?

labels:
  environment: staging

You could also check the infrastructure agent logs to see if there are some parsing errors.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文