Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

GCP Device Network: Error scraping metrics, failed to decode response payload

未关闭
#171 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
docker, gcp, go

调研方向

首先,在 Device Overview 仪表板的 Device Network 面板中重现故障,并检查 application-study-tool-otel-collector 日志。以报告的 scraper 错误和 entries.NestedStats.Entries.counters.pktsIn.value 字段作为起点。完成的标准是:Network Addresses、Network Interface Data Rate 和 Network Interface Error Rate 为托管在 GCP 上的 BIG-IPs 显示数据,同时不影响 VLAN Info 或其他面板。

由索引模型根据 Issue 内容生成。

描述

bug

Describe the bug
Unable to collect network interface information from GCP-hosted F5s, even when service account is set as Administrator. Issue not seen with our other cloud-hosted or on prem systems.

To Reproduce
Dashboard: Device Overview; panel category Device Network; panels Network Addresses, Network Interface Data Rate, and Network Interface Error Rate all show "No data". VLAN Info is populated correctly, as are all other panels in the dashboard.

Expected behavior
Data displayed in panels.

Additional context
COLLECTOR_VERSION: v0.9.2
Issue occurs no matter permission level for service account, including full admin with bash access. Seen on BigIP v17.1.1.3 and after upgrading to v17.5 the issue persists.

Attachments
Error from "docker logs -f application-study-tool-otel-collector-1":
error [email protected]/obs_metrics.go:61 Error scraping metrics {"kind": "receiver", "name": "bigip/gcp1", "data_type": "metrics", "error": "failed to decode response payload: json: cannot unmarshal number 17674376737615511552 into Go struct field .entries.NestedStats.Entries.counters.pktsIn.value of type int64"}
go.opentelemetry.io/collector/scraper/scraperhelper.wrapObsMetrics.func1
go.opentelemetry.io/collector/scraper/[email protected]/obs_metrics.go:61
go.opentelemetry.io/collector/scraper.ScrapeMetricsFunc.ScrapeMetrics
go.opentelemetry.io/collector/[email protected]/metrics.go:24
go.opentelemetry.io/collector/scraper/scraperhelper.scrapeMetrics
go.opentelemetry.io/collector/scraper/[email protected]/controller.go:256
go.opentelemetry.io/collector/scraper/scraperhelper.NewMetricsController.func1
go.opentelemetry.io/collector/scraper/[email protected]/controller.go:228
go.opentelemetry.io/collector/scraper/scraperhelper.(*controller[...]).startScraping.func1
go.opentelemetry.io/collector/scraper/[email protected]/controller.go:175

主要语言
Python
星标
106
派生
44
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

f5devcentral/application-study-tool 的其他 Issue

查看 f5devcentral/application-study-tool 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。