Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
open-source
MetaGer
Commits
3147096d
Commit
3147096d
authored
Apr 15, 2020
by
Dominik Hebeler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typos
parent
8458e5c7
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/Http/Controllers/MetaGerSearch.php
app/Http/Controllers/MetaGerSearch.php
+1
-1
routes/web.php
routes/web.php
+2
-1
No files found.
app/Http/Controllers/MetaGerSearch.php
View file @
3147096d
...
...
@@ -207,7 +207,7 @@ class MetaGerSearch extends Controller
\
Prometheus\CollectorRegistry
::
getDefault
()
->
getOrRegisterCounter
(
'metager'
,
'result_counter'
,
'counts total number of returned results'
)
->
incBy
(
$newResults
)
->
incBy
(
$newResults
)
;
$finished
=
true
;
foreach
(
$engines
as
$engine
)
{
...
...
routes/web.php
View file @
3147096d
<?php
use
Jenssegers\Agent\Agent
;
use
Prometheus\RenderTextFormat
;
/*
|--------------------------------------------------------------------------
...
...
@@ -242,6 +243,6 @@ Route::group(
$result
=
$renderer
->
render
(
$registry
->
getMetricFamilySamples
());
return
response
(
$result
,
200
)
->
header
(
'Content-Type'
,
RenderTextFormat
::
MIME_TYPE
);
->
header
(
'Content-Type'
,
\
RenderTextFormat
::
MIME_TYPE
);
});
});
Write
Preview
Markdown
is supported
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