Skip to content

Add resource_type/resource_id fields to HostInfo - #517

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
paola.ducolin/reportingagent-resource-id-type
Sep 4, 2026
Merged

Add resource_type/resource_id fields to HostInfo#517
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
masterfrom
paola.ducolin/reportingagent-resource-id-type

Conversation

@pducolin

@pducolin pducolin commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds resource_type/resource_id string fields (4, 5) to HostInfo in healthplatform.proto, so a health-platform report's host block identifies the resource represented by the impacted agent process: a plain host, the Cluster Agent, a node agent running under a Kubernetes DaemonSet, an otel collector
  • Regenerates healthplatform.pb.go accordingly.

Lets health-platform reports identify the resource represented by the
reporting agent process: a plain host, the Cluster Agent, or a node
agent running under a Kubernetes DaemonSet.
@pducolin
pducolin force-pushed the paola.ducolin/reportingagent-resource-id-type branch from 127074c to 2890509 Compare September 4, 2026 09:47
@pducolin
pducolin marked this pull request as ready for review September 4, 2026 10:26
@pducolin
pducolin requested a review from a team as a code owner September 4, 2026 10:26
@pducolin
pducolin requested a review from matt-dz September 4, 2026 10:26

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2890509dd3

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +102 to +104
// ResourceType identifies the kind of resource this report's Host represents:
// "host" for a plain host agent, "cluster" for the Cluster Agent, or
// "deployment" for a node agent running under a Kubernetes DaemonSet.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Specify the OpenTelemetry Collector resource mapping

For OpenTelemetry Collector reports—which this change explicitly intends to support—the schema documents mappings only for hosts, Cluster Agents, and node agents. Because resource_type is a free-form string, collector producers have no contract for either the type value or corresponding resource_id and may emit values the intake cannot interpret consistently. Add the collector mapping here, or clarify which existing mapping collectors must use.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will restrict in a follow up

@pducolin

pducolin commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351 Bot commented Sep 4, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-09-04 11:37:46 UTC ℹ️ Start processing command /merge


2026-09-04 11:37:52 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 3m (p90).


2026-09-04 11:40:18 UTC ℹ️ MergeQueue: This merge request was merged

@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot merged commit 8e31e24 into master Sep 4, 2026
9 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854d Bot deleted the paola.ducolin/reportingagent-resource-id-type branch September 4, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants