Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
OnGres Inc.
pgio
Commits
e35bb80d
Commit
e35bb80d
authored
Feb 11, 2019
by
Ahmad Sherif
Browse files
Update PrometheusService.java
parent
a17223bf
Pipeline
#30168
failed with stage
in 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
main/src/main/java/com/ongres/pgio/main/PrometheusService.java
View file @
e35bb80d
...
...
@@ -38,7 +38,7 @@ public class PrometheusService extends NanoHTTPD {
private
final
AtomicReference
<
Optional
<
StatSnapshot
>>
previousStatsReference
=
new
AtomicReference
<
Optional
<
StatSnapshot
>>(
Optional
.
empty
());
public
PrometheusService
(
Config
config
)
{
public
PrometheusService
(
Config
config
)
throws
IOException
{
super
(
config
.
getPrometheusBind
().
getHostName
(),
config
.
getPrometheusPort
());
start
(
NanoHTTPD
.
SOCKET_READ_TIMEOUT
,
false
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment