• Andrey Meshkov's avatar
    Add server instance to the context in ServerTLS and ServerHTTPS (#2840) · aebbc488
    Andrey Meshkov authored
    * Add server instance to the context in ServerTLS and ServerHTTPS
    
    The problem with the current code is that there's no way to get the server instance inside a plugin.
    Because of that "metrics" plugin sets empty "server" label for requests served over TLS or HTTPS.
    
    * use s.Server instead of s
    
    * Added server to the context of grpc requests
    aebbc488
server_https.go 3.98 KB