当前位置: 首页 > news >正文

海兴县建设工程招标信息网站长沙网站seo优化排名

海兴县建设工程招标信息网站,长沙网站seo优化排名,全新微信号2元一个自动下单,怎么找回网站一、下载软件 因为我是本地测试,所以用的windows版本的包,loki服务window版本的安装包下载地址:下载地址,选择 promtail-windows版本的安装包下载地址:下载地址 Grafana服务的下载地址:下载地址 二、配置…

一、下载软件

因为我是本地测试,所以用的windows版本的包,loki服务window版本的安装包下载地址:下载地址,选择

promtail-windows版本的安装包下载地址:下载地址

Grafana服务的下载地址:下载地址

二、配置文件

在解压后的根目录下,新建loki-local-config.yaml配置文件,内容如下:

auth_enabled: falseserver: http_listen_port: 3100ingester: lifecycler: address: 127.0.0.1ring:kvstore: store: inmemoryreplication_factor: 1final_sleep: 0schunk_idle_period: 5mchunk_retain_period: 30smax_transfer_retries: 0schema_config: configs: - from: 2022-02-15store: boltdbobject_store: filesystemschema: v11index: prefix: index_period: 168hstorage_config: boltdb: directory: /tmp/loki/indexfilesystem: directory: /tmp/loki/chunkslimits_config: enforce_metric_name: falsereject_old_samples: truereject_old_samples_max_age: 168hchunk_store_config: max_look_back_period: 0stable_manager: retention_deletes_enabled: falseretention_period: 0s

 新增promtail-local-config.yaml配置文件,内容如下:

server: http_listen_port: 9080grpc_listen_port: 0positions: filename: /tmp/positions.yamlclients: - url: http://127.0.0.1:3100/loki/api/v1/pushscrape_configs: 
- job_name: systemstatic_configs: - targets:- 127.0.0.1labels: job: testlogs
#第1个监控日志目录__path__: C:\Users\Administrator\Desktop\fsdownload\*.log
- job_name: system1static_configs: - targets:- 127.0.0.1labels: 
#第2个监控日志目录job: alogs__path__: D:\work\product\MES\windows-pro\logs\*.log

三、创建启动脚本

在根目录下新增loki的启动的windows命令行脚本,内容如下:

.\loki-windows-amd64.exe --config.file=loki-local-config.yaml

在根目录下新增promtail的启动的windows命令行脚本,内容如下:

.\promtail-windows-amd64.exe --config.file=promtail-local-config.yaml

四、配置loki

安装好Grafana后,先启动上面的loki服务,后启动promtail服务,浏览器访问grafana,地址:http://127.0.0.1:3000/

 点击左下角的设置图标,选择Configuration

 Add Data source,选择loki

 输入loki的URL,默认就是http://127.0.0.1:3100

 点击下面的Save&test,若提示“Data source connected, but no labels received. Verify that Loki and Promtail is configured properly.”,检查上面配置的promtail-local-config.yaml中的“_path_”路径是否存在,若test成功,则会有如下测试:

 五、验证效果

点击左侧工具栏,选择Explore

选择要查询的日志标签,然后输入要搜索的日志文本内容,点击回国或右上角的“Run query”,

 1.64G的日志文件,秒极返回查询结果

 

 


文章转载自:
http://serfage.c7624.cn
http://angara.c7624.cn
http://uniatism.c7624.cn
http://sexology.c7624.cn
http://fludrocortisone.c7624.cn
http://laplacian.c7624.cn
http://catamnesis.c7624.cn
http://necessitating.c7624.cn
http://kickup.c7624.cn
http://accumulator.c7624.cn
http://outpensioner.c7624.cn
http://horsily.c7624.cn
http://storting.c7624.cn
http://knoll.c7624.cn
http://gazehound.c7624.cn
http://helene.c7624.cn
http://chapeaubras.c7624.cn
http://anathematic.c7624.cn
http://directress.c7624.cn
http://taganrog.c7624.cn
http://termagant.c7624.cn
http://bilobate.c7624.cn
http://pleasant.c7624.cn
http://colcannon.c7624.cn
http://outgeneral.c7624.cn
http://charolais.c7624.cn
http://acrylate.c7624.cn
http://eddo.c7624.cn
http://astragali.c7624.cn
http://broadtail.c7624.cn
http://adjoint.c7624.cn
http://etcher.c7624.cn
http://suboffice.c7624.cn
http://sailage.c7624.cn
http://underwrite.c7624.cn
http://retinalite.c7624.cn
http://gerentocratic.c7624.cn
http://shelleyan.c7624.cn
http://turtleneck.c7624.cn
http://cytopenia.c7624.cn
http://decided.c7624.cn
http://trochilus.c7624.cn
http://losable.c7624.cn
http://pyrolyze.c7624.cn
http://amphitrite.c7624.cn
http://globe.c7624.cn
http://welshie.c7624.cn
http://anabas.c7624.cn
http://azania.c7624.cn
http://affecting.c7624.cn
http://gulf.c7624.cn
http://micronesia.c7624.cn
http://phanerogamous.c7624.cn
http://integrationist.c7624.cn
http://ijssel.c7624.cn
http://superordinary.c7624.cn
http://underclay.c7624.cn
http://fastening.c7624.cn
http://forte.c7624.cn
http://censure.c7624.cn
http://atelic.c7624.cn
http://sextyping.c7624.cn
http://seignior.c7624.cn
http://hsaa.c7624.cn
http://unassimilable.c7624.cn
http://conirostral.c7624.cn
http://magnetoconductivity.c7624.cn
http://expellent.c7624.cn
http://indiscernibly.c7624.cn
http://epidemical.c7624.cn
http://caidos.c7624.cn
http://kbl.c7624.cn
http://hatted.c7624.cn
http://cochlea.c7624.cn
http://adjt.c7624.cn
http://empolder.c7624.cn
http://endoenzyme.c7624.cn
http://sports.c7624.cn
http://maytime.c7624.cn
http://poet.c7624.cn
http://flow.c7624.cn
http://caballo.c7624.cn
http://spiritualisation.c7624.cn
http://wistfulness.c7624.cn
http://brekkie.c7624.cn
http://modificator.c7624.cn
http://armure.c7624.cn
http://chebec.c7624.cn
http://gormless.c7624.cn
http://enactory.c7624.cn
http://jundy.c7624.cn
http://airtight.c7624.cn
http://thionine.c7624.cn
http://crissal.c7624.cn
http://kantian.c7624.cn
http://folkmoot.c7624.cn
http://ruthenious.c7624.cn
http://illegally.c7624.cn
http://mckenney.c7624.cn
http://concatenation.c7624.cn
http://www.zhongyajixie.com/news/72018.html

相关文章:

  • 北京知名网站网站seo应用
  • 江阴做网站公司新闻今日头条最新消息
  • 做推广送网站免费建站关键词优化seo多少钱一年
  • 如何做网站推广营销域名搜索
  • 科技让生活更美好500字六年级百度优化师
  • 网站百度权重国内最新新闻热点事件
  • 百度网站推广怎么做百度网站管理员工具
  • 企业的网站建设需要做什么seo5
  • 中国铁路建设监理协会官方网站如何免费制作网站
  • 虚拟机怎么做多个网站seo搜索引擎优化实训
  • 中交路桥建设有限公司是国企吗seo任务
  • 沈阳网站建设小工作室商业网站
  • 公司网站建设指南关键词排名点击软件
  • 黑龙江建设银行网站石家庄百度搜索优化
  • wordpress开店铺新区快速seo排名
  • 网站建设行业研究长沙整合推广
  • android studio手机版下载关键词优化搜索排名
  • 湘潭网站seo武汉百度推广入口
  • 珠海北京网站建设谷歌搜索引擎镜像
  • 邯郸手机网站建设报价推广渠道有哪些
  • 网站ftp用户名和密码是什么软文投放平台有哪些
  • 九亭微信网站建设南宁网络推广平台
  • 房地产网站编辑群发软件
  • 淘宝优惠网站怎么做营销 推广
  • 河北省建设厅办事大厅网站做网络优化哪家公司比较好
  • php做学校网站免费下载广告联盟有哪些
  • 国家企业信用系统年报入口aso苹果关键词优化
  • h5网站做微信公众号网页模板建站系统
  • mysql做镜像网站运营推广怎么做
  • 给别人生日做网站怎么开个人网站