mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-08-02 23:12:51 +02:00
set exporter endpoint & sample rate in startup script
This commit is contained in:
parent
b292d4f06d
commit
54fb480ade
1 changed files with 2 additions and 0 deletions
|
@ -83,6 +83,8 @@ echo "{
|
||||||
\"lowBandwidthMode\": ${ZT_LB_MODE:-$DEFAULT_LB_MODE},
|
\"lowBandwidthMode\": ${ZT_LB_MODE:-$DEFAULT_LB_MODE},
|
||||||
\"ssoRedirectURL\": \"${ZT_SSO_REDIRECT_URL}\",
|
\"ssoRedirectURL\": \"${ZT_SSO_REDIRECT_URL}\",
|
||||||
\"allowManagementFrom\": [\"127.0.0.1\", \"::1\", \"10.0.0.0/8\"],
|
\"allowManagementFrom\": [\"127.0.0.1\", \"::1\", \"10.0.0.0/8\"],
|
||||||
|
\"exporterEndpoint\": \"${ZT_EXPORTER_ENDPOINT}\",
|
||||||
|
\"exporterSampleRate\": ${ZT_EXPORTER_SAMPLE_RATE:-0},
|
||||||
${REDIS}
|
${REDIS}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue