 03 小罗 python与devops Mesos、swarm •服务注册与发现:Zookeeper、etcd、Consul •脚本语言:python、ruby、shell •日志管理:ELK、Logentries •系统监控:zabbix、prometheus 前东家关于Devops的一些实践 Devops传统方式下构建示例 Devops发布流程需要考虑几个问题 1、发布什么应用,发布到哪里(CMDB) 2、发布人员是否有权限(RBAC) 'unreachable': True}}} 监控系统二次开发 Zabbix api 二次开发 https://blog.51cto.com/xiaoluoge/1827151 #coding:utf-8 import time from zabbix_client import ZabbixServerProxy class Zabbix(): def __init__(self,url): self login(user="Admin", password="zabbix") ############## 查询组所有组获取组id ############### def get_hostgroup(self): data = { "output":['groupid','name'] } ret = self.zb.hostgroup.get(**data) return ret Zabbix api 开发的机柜告警平台0 码力 | 22 页 | 1.64 MB | 1 年前3 03 小罗 python与devops Mesos、swarm •服务注册与发现:Zookeeper、etcd、Consul •脚本语言:python、ruby、shell •日志管理:ELK、Logentries •系统监控:zabbix、prometheus 前东家关于Devops的一些实践 Devops传统方式下构建示例 Devops发布流程需要考虑几个问题 1、发布什么应用,发布到哪里(CMDB) 2、发布人员是否有权限(RBAC) 'unreachable': True}}} 监控系统二次开发 Zabbix api 二次开发 https://blog.51cto.com/xiaoluoge/1827151 #coding:utf-8 import time from zabbix_client import ZabbixServerProxy class Zabbix(): def __init__(self,url): self login(user="Admin", password="zabbix") ############## 查询组所有组获取组id ############### def get_hostgroup(self): data = { "output":['groupid','name'] } ret = self.zb.hostgroup.get(**data) return ret Zabbix api 开发的机柜告警平台0 码力 | 22 页 | 1.64 MB | 1 年前3
 QCon北京2018-业务高速发展下的互联网金融系统架构演变-张现双+db的io,慢sql,索引,join等 代码review,数据结构,日志 GC TCP连接 第四部分 关于监控 如果没有监控… 盲 人 骑 瞎 马 , 夜 半 临 深 池 监控体系 } zabbix,datagod, prometheus… apm工具,商业产品 期望更轻量、无侵入性的业务监控 cat,elk,zipkin等 趋于个性 具有共性 中间件/缓存/数据库/代理/MQ0 码力 | 42 页 | 19.96 MB | 1 年前3 QCon北京2018-业务高速发展下的互联网金融系统架构演变-张现双+db的io,慢sql,索引,join等 代码review,数据结构,日志 GC TCP连接 第四部分 关于监控 如果没有监控… 盲 人 骑 瞎 马 , 夜 半 临 深 池 监控体系 } zabbix,datagod, prometheus… apm工具,商业产品 期望更轻量、无侵入性的业务监控 cat,elk,zipkin等 趋于个性 具有共性 中间件/缓存/数据库/代理/MQ0 码力 | 42 页 | 19.96 MB | 1 年前3
 ServiceComb在华为消费者云的亿级用户微服务实践配置服务:  Zookeeper  etcd 缓存方案:  Redis 数据库方案:  DB + MQ 服务治理 服务治理: 超时、流控、 降级等 运维KPI:  ELK  Zabbix 调用链:  zipkin 选择ServiceComb的原因: 实践- API First Website: http://servicecomb.incubator.apache.org/0 码力 | 15 页 | 1.15 MB | 1 年前3 ServiceComb在华为消费者云的亿级用户微服务实践配置服务:  Zookeeper  etcd 缓存方案:  Redis 数据库方案:  DB + MQ 服务治理 服务治理: 超时、流控、 降级等 运维KPI:  ELK  Zabbix 调用链:  zipkin 选择ServiceComb的原因: 实践- API First Website: http://servicecomb.incubator.apache.org/0 码力 | 15 页 | 1.15 MB | 1 年前3
 1_丁来强_开源AIOps数据中台搭建与Python的作用应⽤用层性能监控 应⽤用层 ⽇日志 指标监控 prometheus + grafana + thanos elastic stack, TICK stack, Open Telemetry Zabbix, statsd, collectd Nagios, fluentd ⼏几个监控⽅方案作为中台的能⼒力力⽐比较 ⽅方案⽐比较 Prometheus Stack Elastic Stask TICK0 码力 | 48 页 | 17.54 MB | 1 年前3 1_丁来强_开源AIOps数据中台搭建与Python的作用应⽤用层性能监控 应⽤用层 ⽇日志 指标监控 prometheus + grafana + thanos elastic stack, TICK stack, Open Telemetry Zabbix, statsd, collectd Nagios, fluentd ⼏几个监控⽅方案作为中台的能⼒力力⽐比较 ⽅方案⽐比较 Prometheus Stack Elastic Stask TICK0 码力 | 48 页 | 17.54 MB | 1 年前3
 waitress Documentation v3.0.1
supports HTTP/1.0 and HTTP/1.1. Extended Documentation Usage Access Logging Using Behind a Reverse Proxy Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper 412 Document that trusted_proxy may be set to a wildcard value to trust all proxies. See https://github.com/Pylons/waitress/pull/431 Updated Defaults clear_untrusted_proxy_headers is set to True by default clear_untrusted_proxy_headers to be usable without a trusted_proxy. https://github.com/Pylons/waitress/pull/228 Modified trusted_proxy_count to error when used without a trusted_proxy. https://github.0 码力 | 55 页 | 56.36 KB | 1 年前3 waitress Documentation v3.0.1
supports HTTP/1.0 and HTTP/1.1. Extended Documentation Usage Access Logging Using Behind a Reverse Proxy Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper 412 Document that trusted_proxy may be set to a wildcard value to trust all proxies. See https://github.com/Pylons/waitress/pull/431 Updated Defaults clear_untrusted_proxy_headers is set to True by default clear_untrusted_proxy_headers to be usable without a trusted_proxy. https://github.com/Pylons/waitress/pull/228 Modified trusted_proxy_count to error when used without a trusted_proxy. https://github.0 码力 | 55 页 | 56.36 KB | 1 年前3
 waitress Documentation v2.1.1supports HTTP/1.0 and HTTP/1.1. Extended Documentation Usage Access Logging Using Behind a Reverse Proxy Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper clear_untrusted_proxy_headers to be usable without a trusted_proxy. https://github.com/Pylons/waitress/pull/228 Modified trusted_proxy_count to error when used without a trusted_proxy. https://github. mailing list with 1.2.0b1. 1.2.0b1 (2018-12-31) Happy New Year! Features Setting the trusted_proxy setting to '*' (wildcard) will allow all upstreams to be considered trusted proxies, thereby allowing0 码力 | 53 页 | 58.27 KB | 1 年前3 waitress Documentation v2.1.1supports HTTP/1.0 and HTTP/1.1. Extended Documentation Usage Access Logging Using Behind a Reverse Proxy Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper clear_untrusted_proxy_headers to be usable without a trusted_proxy. https://github.com/Pylons/waitress/pull/228 Modified trusted_proxy_count to error when used without a trusted_proxy. https://github. mailing list with 1.2.0b1. 1.2.0b1 (2018-12-31) Happy New Year! Features Setting the trusted_proxy setting to '*' (wildcard) will allow all upstreams to be considered trusted proxies, thereby allowing0 码力 | 53 页 | 58.27 KB | 1 年前3
 waitress Documentation v2.1.0supports HTTP/1.0 and HTTP/1.1. Extended Documentation Usage Access Logging Using Behind a Reverse Proxy Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper clear_untrusted_proxy_headers to be usable without a trusted_proxy. https://github.com/Pylons/waitress/pull/228 Modified trusted_proxy_count to error when used without a trusted_proxy. https://github. mailing list with 1.2.0b1. 1.2.0b1 (2018-12-31) Happy New Year! Features Setting the trusted_proxy setting to '*' (wildcard) will allow all upstreams to be considered trusted proxies, thereby allowing0 码力 | 52 页 | 57.95 KB | 1 年前3 waitress Documentation v2.1.0supports HTTP/1.0 and HTTP/1.1. Extended Documentation Usage Access Logging Using Behind a Reverse Proxy Design Differences from zope.server waitress API Arguments to waitress.serve Support for wsgi.file_wrapper clear_untrusted_proxy_headers to be usable without a trusted_proxy. https://github.com/Pylons/waitress/pull/228 Modified trusted_proxy_count to error when used without a trusted_proxy. https://github. mailing list with 1.2.0b1. 1.2.0b1 (2018-12-31) Happy New Year! Features Setting the trusted_proxy setting to '*' (wildcard) will allow all upstreams to be considered trusted proxies, thereby allowing0 码力 | 52 页 | 57.95 KB | 1 年前3
 waitress Documentation v2.1.2you want to serve your application through a UNIX domain socket (to serve a downstream HTTP server/proxy such as nginx, lighttpd, and so on), call serve with the unix_socket argument: from waitress import --listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x-forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers \ --threads ${WEB_CONCURRENCY:-4} ${WEB_CONCURRENCY:-4} \ myapp:wsgifunc The proxy config informs Waitress to trust the forwarding headers set by the Heroku load balancer. It also allows for setting the standard WEB_CONCURRENCY environment0 码力 | 115 页 | 272.79 KB | 1 年前3 waitress Documentation v2.1.2you want to serve your application through a UNIX domain socket (to serve a downstream HTTP server/proxy such as nginx, lighttpd, and so on), call serve with the unix_socket argument: from waitress import --listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x-forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers \ --threads ${WEB_CONCURRENCY:-4} ${WEB_CONCURRENCY:-4} \ myapp:wsgifunc The proxy config informs Waitress to trust the forwarding headers set by the Heroku load balancer. It also allows for setting the standard WEB_CONCURRENCY environment0 码力 | 115 页 | 272.79 KB | 1 年前3
 waitress Documentation v2.1.1you want to serve your application through a UNIX domain socket (to serve a downstream HTTP server/proxy such as nginx, lighttpd, and so on), call serve with the unix_socket argument: from waitress import --listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x-forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers \ --threads ${WEB_CONCURRENCY:-4} ${WEB_CONCURRENCY:-4} \ myapp:wsgifunc The proxy config informs Waitress to trust the forwarding headers set by the Heroku load balancer. It also allows for setting the standard WEB_CONCURRENCY environment0 码力 | 113 页 | 270.88 KB | 1 年前3 waitress Documentation v2.1.1you want to serve your application through a UNIX domain socket (to serve a downstream HTTP server/proxy such as nginx, lighttpd, and so on), call serve with the unix_socket argument: from waitress import --listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x-forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers \ --threads ${WEB_CONCURRENCY:-4} ${WEB_CONCURRENCY:-4} \ myapp:wsgifunc The proxy config informs Waitress to trust the forwarding headers set by the Heroku load balancer. It also allows for setting the standard WEB_CONCURRENCY environment0 码力 | 113 页 | 270.88 KB | 1 年前3
 waitress Documentation v3.0.1you want to serve your application through a UNIX domain socket (to serve a downstream HTTP server/proxy such as nginx, lighttpd, and so on), call serve with the unix_socket argument: from waitress import --listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x-forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers \ --threads ${WEB_CONCURRENCY:-4} ${WEB_CONCURRENCY:-4} \ myapp:wsgifunc The proxy config informs Waitress to trust the forwarding headers set by the Heroku load balancer. It also allows for setting the standard WEB_CONCURRENCY environment0 码力 | 119 页 | 339.46 KB | 1 年前3 waitress Documentation v3.0.1you want to serve your application through a UNIX domain socket (to serve a downstream HTTP server/proxy such as nginx, lighttpd, and so on), call serve with the unix_socket argument: from waitress import --listen "*:$PORT" \ --trusted-proxy '*' \ --trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x-forwarded-port' \ --log-untrusted-proxy-headers \ --clear-untrusted-proxy-headers \ --threads ${WEB_CONCURRENCY:-4} ${WEB_CONCURRENCY:-4} \ myapp:wsgifunc The proxy config informs Waitress to trust the forwarding headers set by the Heroku load balancer. It also allows for setting the standard WEB_CONCURRENCY environment0 码力 | 119 页 | 339.46 KB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100














 
  
  
 