Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Infra‑only OneAgent: Custom host properties set via --set-host-property not displayed

Gyanendra1
Visitor

Hello All,

 

I’m running Dynatrace OneAgent in infra‑only mode and tried to configure custom host properties using the --set-host-property flag, for example:

--set-host-property=Environment=NONPROD
--set-host-property=Owner=Container-Orchestration

However, these properties are not showing up under the “Properties and tags” section of the host overview in Dynatrace.

Gyanendra1_1-1767708964097.png

 

My questions are:

  1. Is this the expected behavior for infra‑only mode (i.e., custom host properties not supported)?
  2. If so, what’s the recommended way to surface these properties in Dynatrace when using infra‑only agents?
  3. Has anyone successfully used --set-host-property in infra‑only mode, or is this feature limited to full‑stack deployments?

Gyanendra1_0-1767708956793.png

 

Any guidance or confirmation would be greatly appreciated.
Thanks!

5 REPLIES 5

Gyanendra1
Visitor

Also we are using terraform to deploy infraonly and passing this as args. 

 

args:
- --set-app-log-content-access=true
- --set-host-property=Compliance=None
- --set-host-property=Environment=${oneagent_deploy_env}
- --set-host-property=NodeType=Worker
- --set-host-property=Owner=${oneagent_owner}

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Scroll down in the host view, I think they are added as metadata in the bottom.

And you can create auto tagging rules also, if you want those as tags.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Thanks @AntonPineiro for your inputs.

I checked, but no metadata is showing for Infra-only. I can see it for Full stack, but not for Infra-only.

Hi,

Maybe is about terraform way or syntax. You can ingest host properties or host tags using oneagentctl, no matter is fullstack or inframode.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

tried that as well, still no luck. Form host it is showing but in DT it is not showing

Gyanendra1_0-1767885944292.png

 

Featured Posts