Skip to content

How to use container_allow_list to track specific services started via nohup/shell script on Linux VM #375

Open

Description

@satya050256

I am running Coroot Node Agent on a Linux VM.

When services are started using nohup or a shell script, they are being tracked under ssh.service.

For example:

ssh.service
 ├── service-a
 ├── service-b
 └── service-c

I want to track metrics only for a specific service, for example service-a, while excluding the other services running under ssh.service.

I need help identifying the correct container_allow_list regex pattern for this scenario.

For example, would the required regex be:

^service-a$

or:

.*service-a.*

or does the regex need to match something like:

ssh.service.*service-a

Please clarify what process/service identifier container_allow_list matches against when applications are started using nohup or shell scripts and are consequently associated with ssh.service.

The main requirement is:

ssh.service
 ├── service-a → Track L7
 ├── service-b → Ignore
 └── service-c → Ignore

I need the correct regex pattern to selectively track service-a.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions