Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable feature switch #226

Merged
merged 1 commit into from
Apr 2, 2024
Merged

Conversation

jzwlqx
Copy link
Collaborator

@jzwlqx jzwlqx commented Apr 2, 2024

  1. userspace program could write true/false value to ebpf map to change actions of ebpf program
  2. packetloss stack now could be disable(by default) to reduce cpu usage
  3. ports in flow labels can be set to zero to reduce data amount

example:

`debugmode: true
port: 9102
enable_controller: true
metrics:
probes:

  • name: packetloss
    args:
    enableStack: false
  • name: flow
    args:
    enablePortInLabel: false
    event:
    probes:
  • name: packetloss
    args:
    enableStack: false
  • name: tcpreset
  • name: tcpretrans
    sinks:
  • name: stderr`

@jzwlqx jzwlqx force-pushed the feature/feature-switch branch from 7a99b83 to 46a019e Compare April 2, 2024 10:56
@jzwlqx jzwlqx force-pushed the feature/feature-switch branch from 46a019e to 3fba67b Compare April 2, 2024 11:20
@BSWANG BSWANG merged commit b75ef70 into alibaba:main Apr 2, 2024
7 checks passed
@jzwlqx jzwlqx deleted the feature/feature-switch branch April 7, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants