heidsoft
heidsoft
# 事物错误信息 ``` org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) 由乐观锁引发的问题 当两个不同的事务同时读取到一条数据并进行修改时,这个时候程序就会抛出org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping...
http://sticksandstones.kstrom.com/appen.html
https://stackoverflow.com/questions/12520499/linux-how-to-lock-the-pages-of-a-process-in-memory
https://www.rootusers.com/12-dig-command-examples-to-query-dns-in-linux/ https://www.shellhacks.com/setup-dns-resolution-resolvconf-example/ https://linux.die.net/man/5/resolv.conf https://mediatemple.net/community/products/dv/204644130/understanding-the-dig-command https://www.a2hosting.com/kb/getting-started-guide/internet-and-networking/troubleshooting-dns-with-dig-and-nslookup https://cloud.tencent.com/developer/article/1174717
[How to Use Prometheus to Monitor Your CentOS 7 Server ](https://vexxhost.com/resources/tutorials/how-to-use-prometheus-to-monitor-your-centos-7-server/) [Linux Track NFS Directory / Disk I/O Stats](https://www.cyberciti.biz/faq/howto-linux-track-nfs-client-disk-metrics/)
### prometheus的relabel_configs的理解 [prometheus的relabel_configs的理解](https://blog.csdn.net/wtan825/article/details/93651164) [Kubernetes下的服务发现](https://yunlzheng.gitbook.io/prometheus-book/part-iii-prometheus-shi-zhan/readmd/service-discovery-with-kubernetes) [Prometheus的服务发现机制](https://lvjianzhao.gitee.io/lvjianzhao/2020/09/09/%E7%9B%91%E6%8E%A7%EF%BC%882%EF%BC%89%EF%BC%9APrometheus%E7%9A%84%E6%9C%8D%E5%8A%A1%E5%8F%91%E7%8E%B0%E6%9C%BA%E5%88%B6/) ``` 默认情况下,当Prometheus加载Target实例完成后,这些Target时候都会包含一些默认的标签: 上面这些标签将会告诉Prometheus如何从该Target实例中获取监控数据。一般来说,Target以__作为前置的标签是在系统内部使用的,因此这些标签不会被写入到样本数据中。不过这里有一些例外,例如,我们会发现所有通过Prometheus采集的样本数据中都会包含一个名为instance的标签,该标签的内容对应到Target实例的__address__。 这里实际上是发生了一次标签的重写处理。 这种发生在采集样本数据之前,对Target实例的标签进行重写的机制在Prometheus被称为Relabeling。 Relabeling作用时机 Prometheus允许用户在采集任务设置中通过relabel_configs来添加自定义的Relabeling过程。 replace/labelmap/labelkeep/labeldrop对标签进行管理 完整的relabel_config配置如下所示: __address__:当前Target实例的访问地址: __scheme__:采集目标服务访问地址的HTTP Scheme,HTTP或者HTTPS __metrics_path__:采集目标服务访问地址的访问路径 __param_:采集任务目标服务的中包含的请求参数 # The source labels select values from existing labels. Their content...
https://opensource.actionsky.com/20200622-prometheus/ https://my.oschina.net/u/4383725/blog/4314559 https://www.cnblogs.com/zhaojiedi1992/p/zhaojiedi_liunx_61_prometheus_relabel.html https://yunlzheng.gitbook.io/prometheus-book/part-ii-prometheus-jin-jie/sd/service-discovery-with-relabel https://www.jianshu.com/p/cef0e145d3e0 https://www.iloxp.com/archive/11/
# mac 安装minikube 报错处理 ``` ➜ ~ brew cask install minikube ==> Satisfying dependencies All Formula dependencies satisfied. ==> Downloading https://storage.googleapis.com/minikube/releases/v0.34.1/minik Already downloaded: /Users/heidsoft/Library/Caches/Homebrew/downloads/23ed8be8d115c5134e05d15860bc70181672e7a41c45eb878d71b8d479df3a53--minikube-darwin-amd64 ==> Verifying SHA-256 checksum for Cask...
https://blog.qikqiak.com/post/kubernetes-resource-quota-usage/
https://jimmysong.io/kubernetes-handbook/practice/storage.html