码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • prometheus安装和oracle告警配置


    一、安装Prometheus

    通过git下载新版本promethus

    1. mv prometheus-2.40.1.linux-amd64.tar.gz /usr/local/
    2. cd /usr/local
    3. tar zxvf prometheus-2.40.1.linux-amd64.tar.gz
    4. cd /usr/local/prometheus-2.40.1.linux-amd64
    vim prometheus.yml
    1. global:
    2. scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
    3. evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
    4. # scrape_timeout is set to the global default (10s).
    5. # Alertmanager configuration
    6. alerting:
    7. alertmanagers:
    8. - static_configs:
    9. - targets:
    10. # - alertmanager:9093
    11. # Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
    12. rule_files:
    13. # - "first_rules.yml"
    14. # - "second_rules.yml"
    15. # A scrape configuration containing exactly one endpoint to scrape:
    16. # Here it's Prometheus itself.
    17. scrape_configs:
    18. # The job name is added as a label `job=` to any timeseries scraped from this config.
    19. - job_name: "prometheus"
    20. # metrics_path defaults to '/metrics'
    21. # scheme defaults to 'http'.
    22. static_configs:
  • 相关阅读:
    vivado简单仿真入门
    javaweb 之 Request 和 Response 常见案例 用户登录和注册
    idea查看UML类图
    pod之间的通信
    DeepSpeed: 大模型训练框架
    新手如何去做性能测试?
    苹果电脑上最优秀的 PDF 编辑工具 PDF Expert 软件下载
    总结html5中常见的选择器
    R语言编写自定义的二元运算符:R将百分号(%…%)之间的任何文本识别为二元运算符
    关于Qt适配不同分辨率和缩放率时可能遇到的问题和解决方案
  • 原文地址:https://blog.csdn.net/zetion_3/article/details/127902517
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号