Merge pull request 'Upgrade strfry to 1.1.1, add metrics' (#657) from chore/upgrade_strfry into master
Reviewed-on: #657 Reviewed-by: Greg <greg@kosmos.org>
This commit was merged in pull request #657.
This commit is contained in:
+1
-1
Submodule nodes updated: 13c12de574...8ed70d5827
@@ -89,6 +89,11 @@ jobs = node["kosmos_prometheus"]["jobs"].merge(
|
|||||||
"query" => "role:garage_node",
|
"query" => "role:garage_node",
|
||||||
"port" => 3903
|
"port" => 3903
|
||||||
},
|
},
|
||||||
|
# strfry relay metrics
|
||||||
|
"strfry" => {
|
||||||
|
"query" => "role:strfry",
|
||||||
|
"port" => 7777
|
||||||
|
},
|
||||||
}.transform_values do |config|
|
}.transform_values do |config|
|
||||||
{
|
{
|
||||||
"targets" => search(:node, config["query"]).map do |n|
|
"targets" => search(:node, config["query"]).map do |n|
|
||||||
|
|||||||
@@ -31,6 +31,10 @@ server {
|
|||||||
proxy_pass http://_substr;
|
proxy_pass http://_substr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /metrics {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|||||||
+1
-1
Submodule site-cookbooks/strfry updated: 2c6e64d231...9c04b393ec
Reference in New Issue
Block a user