And one more option I have here, We have installed oneagent in the target server and here we need Capture more metrics which was not captured By one agent.
In the Case which method Metric ingestion can be used , If any examples of available Please suggest us.
Yes, for metric ingestion you can also use the local port on OneAgent (typically localhost:14499) or use the oneagent ingest tool available with oneagent. The advantage here is, that you don’t need any authorization (Api-Tokens) for sending metrics to Dynatrace. It’s probably the best way to ingest the metrics in your case.
You can also create a OneAgent extension and send metrics using the extensions (that’s similar to the ActiveGate extension), but the OneAgent extension can bind metrics only to the host itself.
Thanks for your information, Today I went Through the OneAgent metric API Document, Once I have Prepared Curl Command , How i need schedule the Command and here the content type is text \Plain.
As per Metrics V2 in Documentation we can able push the Data only in “text” format, In our case , the data which we need to push the metrics to Dynatrace available in Json Format.
Any suggestions for pushing the Data in json format
How does your JSON format look like? You can use utils such as jq or any scripting language to transform the metrics to the line protocol accepted by Dynatrace. Actually, it’s very similar to the InfluxDB line protocol.