Modified state key check
Modified state key check

If 'state' does not exists, it would imply a 'direct' type connection and not a 'network' type, therefore create/name the connection state to 'direct' to account for it instead of skipping the metric entirely.
serverdensity/sd-agent-core-plugins,DataDog/integrations-core,varlib1/servermall,itsuugo/integrations-core,varlib1/servermall,serverdensity/sd-agent-core-plugins,varlib1/servermall,serverdensity/sd-agent-core-plugins,itsuugo/integrations-core,s-maj/integrations-core,serverdensity/sd-agent-core-plugins,DataDog/integrations-core,varlib1/servermall,s-maj/integrations-core,DataDog/integrations-core,DataDog/integrations-core,serverdensity/sd-agent-core-plugins,s-maj/integrations-core,DataDog/integrations-core,DataDog/integrations-core,DataDog/integrations-core,s-maj/integrations-core,DataDog/integrations-core,DataDog/integrations-core,itsuugo/integrations-core,varlib1/servermall,itsuugo/integrations-core,DataDog/integrations-core,s-maj/integrations-core,itsuugo/integrations-core