Skip to content

[Bug]: obagent config mismatch for standalone and service mode cluster #597

@chris-sun-star

Description

@chris-sun-star

Describe the bug

obagent uses the ip address configured with monagent.host.ip to query metrics from observer, but for cluster deployed with standalone or service mode, the address of observer is not the same as the pod, obagent will get empty result for some queries which are using the ip address to filter results

Environment

obcluster deployed with standalone or service modeand with obagent deployed as sidecar

Fast reproduce steps

deploy an obcluster with standalone or service mode, try to get metric ob_server_resource_disk_bytes

Expected behavior

the metric is returned

Actual behavior

the metric is not returned

Additional context

No response

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions