Simple server for test
$ make help
Usage:
build build the application
run run the application(card)
test run tests
lint check everything's okay
format format files
help prints this help message
π Hello there?
{
"timestamp": 1592404155,
"timestamp_ms": 1592404155293,
"time_human": "2020-06-17T23:29:15.293000000+00:00"
}
Micro service κ° Tracing μ 체ν¬νκΈ° μν΄ μ¬μ©νλ©΄ μ’μ Endpoint.
Related ENV
- TARGET_HOST: Endpoint λ΄μμ API μμ²μ λ³΄λΌ target server host
- HEADER_PREFIXES_FOR_PROPAGATION:
TARGET_HOST
μ API μμ²μ λ³΄λΌ λ ν¨κ» μ λ¬ ν header prefix.,
λ‘ λΆλ¦¬νμ¬ μ¬λ¬κ°λ₯Ό λ£μ μ μλ€. - DELAY_MS_BETWEEN_REQUEST_TO_TARGET: target server μ μμ²μ 보λ΄κΈ° μ /νλ‘ κ°μ§ delay
TARGET_HOST μμ hello-node
μ΄μ΄μΌ μλμ²λΌ κΉλνκ² λ¨μ΄μ§λ€.
{
"name": "RootServiceName",
"headers": { "headers_from": "request" },
"history": [
{ "name": "RootServiceName", "headers": { "headers_from": "request" } },
{ "name": "TargetServiceName", "headers": {} },
]
}