Code Monkey home page Code Monkey logo

terraform-ibm-observability-agents's Issues

Support LogDNA/mezmo customisation for logs tags and exclusion rules

Description

In order to customise the logdna traces collected&pushed by the logdna agent deployed through the observability-agents-module module, implement the following customization options:

  • the list of tags metadata to attach to lines forwarded by the agent

this can be easily done by extending the logdna agent chart template at https://github.ibm.com/GoldenEye/observability-agents-module/blob/master/chart/logdna-agent/templates/daemonset.yaml
by adding something like

{{- if
.Values.logdna.tags
}}
          - name: LOGDNA_TAGS
            value: {{
.Values.logdna.tags
}}

in the template and by modifying the helm release module accordingly

  • the logdna exclusion rules to exclude log traces from the agent collection and/or from the logdna storage

this can be done with LOGDNA_LINE_EXCLUSION_REGEX env var configuration
More details on
https://github.com/logdna/logdna-agent-v2/blob/master/docs/README.md#configuring-regex-for-redaction-and-exclusion-or-inclusion
https://github.com/logdna/logdna-agent-v2/blob/master/docs/REGEX.md

Other details:
https://cloud.ibm.com/docs/log-analysis?topic=log-analysis-log_analysis_agent

https://github.com/logdna/logdna-agent-v2/blob/master/docs/README.md

LogDNA api to implement exclusion rules on logdna instance (allows to stream the logs that are visible only in live mode)
https://docs.mezmo.com/log-analysis-api/ref#get-v1-config-exclusions

New or Affected Modules

observability-agents-module


By submitting this issue, you agree to follow our Code of Conduct

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.