Create the file with the actual bytes, not the '\xnn\ representation. For example, in Python:
f = open('filename', 'w')
f.write('\x01\x02\x03')
f.close()
Load the file with redis-cli -x set keyname < filename
Create the file with the actual bytes, not the '\xnn\ representation. For example, in Python:
f = open('filename', 'w')
f.write('\x01\x02\x03')
f.close()
Load the file with redis-cli -x set keyname < filename
import io.prometheus.client.*; | |
import io.prometheus.client.exporter.common.TextFormat; | |
import io.prometheus.client.hotspot.DefaultExports; | |
import spark.Request; | |
import spark.Response; | |
import java.io.IOException; | |
import java.io.StringWriter; | |
import java.util.Random; |