Giter Club home page Giter Club logo

Comments (6)

kongfei605 avatar kongfei605 commented on August 10, 2024

设置采集周期目前只支持到instance级别。
可以将不同周期的field分别放到两个instance.table中,instance.table 支持虚拟表(不设置oid就是虚拟表)

from categraf.

zhangchi2217 avatar zhangchi2217 commented on August 10, 2024

设置采集周期目前只支持到instance级别。 可以将不同周期的field分别放到两个instance.table中,instance.table 支持虚拟表(不设置oid就是虚拟表)

是采用这样的方式吗?

[[instances.table]]
oid = "oid"
name = "name"
index_as_tag = true
filters = ["A:hwEntityFanReg:1"]
filters_expression = "A"
interval_time = 3

[[instances.table.filed]]
...

[[instances.table]]
name = "name"
index_as_tag = true
filters = ["A:hwEntityFanReg:1"]
filters_expression = "A"
interval_time = 10

[[instances.table.filed]]
...

from categraf.

kongfei605 avatar kongfei605 commented on August 10, 2024

[[instances]]
interval_times=3
...
[[instances.table]]
oid = "oid"
name = "name"
index_as_tag = true
filters = ["A:hwEntityFanReg:1"]
filters_expression = "A"

[[instances.table.filed]]
...

[[instances]]
interval_times=10
...
[[instances.table]]
name = "name"
index_as_tag = true
filters = ["A:hwEntityFanReg:1"]
filters_expression = "A"

[[instances.table.filed]]

from categraf.

zhangchi2217 avatar zhangchi2217 commented on August 10, 2024

[[instances]] interval_times=3 ... [[instances.table]] oid = "oid" name = "name" index_as_tag = true filters = ["A:hwEntityFanReg:1"] filters_expression = "A"

[[instances.table.filed]] ...

[[instances]] interval_times=10 ... [[instances.table]] name = "name" index_as_tag = true filters = ["A:hwEntityFanReg:1"] filters_expression = "A"

[[instances.table.filed]]

感谢,那这样filters里的判断条件指标hwEntityFanReg就需要在每个instances里重复写了是吧?

from categraf.

zhangchi2217 avatar zhangchi2217 commented on August 10, 2024

[[instances.table]]

这样的写法agents以及snmp的配置都要重复写一遍吗。。。?

from categraf.

kongfei605 avatar kongfei605 commented on August 10, 2024

instances 级别的内容都需要重复写一遍。

from categraf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.