Package io.jenkins.plugins.onmonit
Class ResourceUtil
java.lang.Object
io.jenkins.plugins.onmonit.ResourceUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getNodeExporterFilename
(String os, boolean isAmd64) static String
getOtelFilename
(String os, boolean isAmd64) static void
writeNodeExporter
(OutputStream w, String os, boolean isAmd64) static void
writeOtelCollector
(OutputStream w, String os, boolean isAmd64)
-
Constructor Details
-
ResourceUtil
public ResourceUtil()
-
-
Method Details
-
getOtelFilename
-
writeOtelCollector
public static void writeOtelCollector(OutputStream w, String os, boolean isAmd64) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
getNodeExporterFilename
-
writeNodeExporter
public static void writeNodeExporter(OutputStream w, String os, boolean isAmd64) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-