custom header in health monitor

babuk0930
Participant III

We need to send speicific header in health montior. Is it possible to read the value from variable or set dynamic value in health monitor?

If not can we specify health monitor per target server?

0 2 143
2 REPLIES 2

@SatK - yes you can set custom headers using Assign Message policy.

Similar to -

<Set>
        <Headers>
            <Header name="healthcheck">{request.queryparam.custom_header}</Header>
        </Headers>
    </Set>

Our requirement is speicific for http monitors

https://docs.apigee.com/api-platform/deploy/load-balancing-across-backend-servers#healthmonitoring-h...

Few community posts says these values are static in this section