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!

10 REPLIES 10

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

 

Hi,

As I read Kubernetes... Which mode has OneAgent? Infra mode or PaaS mode? Can you share host properties in the Dynatrace UI?

Best regards

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

Gyanendra1_0-1767950361405.png

this one is Infraonly, this one not showing metadata

 

Gyanendra1_1-1767950458267.png

this one is fullstack

Hi,

I can see already your properties in the bottom on your screen, NodeType, Compliance... Metadata is there as expected.

Best regards

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

yes but that is for fullstack server,   server 844 is not showing metadata, in configuration it has same metadata as server 840

Hi,

If you have 2 hosts, with same OneAgent version, with same OneAgent mode and one is working and another not, I would open a support ticket.

Best regards

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

Featured Posts