Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
amqproxy
v2.0.4
AMQ
Protocol
Frame
AMQProxy
ChannelPool
CLI
Journal
LogFormat
Stdout
LogFormat
Client
Error
ReadError
WriteError
Credentials
DownstreamChannel
HTTPServer
Server
TokenBucket
Upstream
AccessError
ChannelMaxReached
Error
WriteError
UpstreamChannel
PrometheusWriter
Metric
MetricLabels
MetricValue
Generated using Crystal 1.14.0
2024-11-26 05:49:22 UTC
class
PrometheusWriter
PrometheusWriter
Reference
Object
Defined in:
amqproxy/prometheus_writer.cr
Constructors
.new
(io : IO, prefix : String)
Instance Method Summary
#prefix
: String
#write
(m : Metric)
Constructor Detail
def self.
new
(io : IO, prefix : String)
#
[
View source
]
Instance Method Detail
def
prefix
: String
#
[
View source
]
def
write
(m :
Metric
)
#
[
View source
]