入参 ip地址,可以是ipv4,也可以是ipv6。 返回值 依次为ip归属运营商,归属省,归属地市。如果没有找到则返回nil。 示例: local vender, province, city = ctyun.get_ip_location("183.38.147.155") if vender ~= nil then ctyun.resp.set_output(vender..":"..province..":"..city.."
入参 ip地址,可以是ipv4,也可以是ipv6。 返回值 依次为ip归属运营商,归属省,归属地市。如果没有找到则返回nil。 示例: local vender, province, city = ctyun.get_ip_location("183.38.147.155") if vender ~= nil then ctyun.resp.set_output(vender..":"..province..":"..city.."
取值:格式为IPv4:port、[IPv6]:port或者domain-name:port。是pushgatewayTimeoutLong向pushgateway发送数据的超时时间。取值:[1000, 1000000],单位为毫秒。否pushgatewayLabelsList of pushgatewayLabel指定pushgateway对应的标签值。取值:格式为"key":"value"。否changeAllBoolean修改配置时,以覆盖方式更新,还是以添加方式更新。