tomsun28 commented on issue #3765: URL: https://github.com/apache/hertzbeat/issues/3765#issuecomment-3502998627
hi, how about this refactor. In `Monitor`, change the `host` into `instance`, the `instance` value is host:port, the `ping` monitor's `instance` value is host. Because the monitor params also has the host value, so we can change `Monitor` host.  Then change the metadata `instancehost` into `instance`, the value is from the monitor instance.  The we can save the instance as promethues instance into TSDB like victormetrics or greptimedb. Also we need update the metrics query, from using the monitorId to match value to using the instance. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: notifications-h...@hertzbeat.apache.org
