-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Now metrics probe is free to add any prometheus metrics 2. Arguments is allowed when config probes 3. Flexible configuration of event storage 4. More structured metrics names, use kubeskoop_{module}_metrics instead of inspector_pod{module}{metrics} 5. Change log lib from slog to logrus
- Loading branch information
Showing
57 changed files
with
2,628 additions
and
4,108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package main | ||
|
||
import ( | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/nlconntrack" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/nlqdisc" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/procfd" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/procio" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/procipvs" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/procnetdev" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/procnetstat" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/procsched" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/procsnmp" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/procsock" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/procsoftnet" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/proctcpsummary" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/tracebiolatency" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/tracekernel" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/tracenetiftxlatency" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/tracenetsoftirq" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/tracepacketloss" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/tracesocketlatency" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/tracetcpreset" | ||
_ "github.com/alibaba/kubeskoop/pkg/exporter/probe/tracevirtcmdlat" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
debugmode: false | ||
metric_config: | ||
interval: 15 | ||
port: 9102 | ||
debugmode: true | ||
port: 10080 | ||
metrics: | ||
probes: | ||
- netdev | ||
- io | ||
- sock | ||
- tcpsummary | ||
- tcp | ||
- tcpext | ||
- udp | ||
event_config: | ||
port: 19102 | ||
loki_enable: false | ||
loki_address: loki-service | ||
- name: conntrack | ||
- name: qdisc | ||
- name: netdev | ||
- name: io | ||
- name: sock | ||
- name: tcpsummary | ||
- name: tcp | ||
- name: tcpext | ||
- name: udp | ||
- name: kernellatency | ||
- name: packetloss | ||
event: | ||
probes: | ||
- name: biolatency | ||
- name: kernellatency | ||
- name: packetloss | ||
- name: tcpreset | ||
sinks: | ||
- name: stderr | ||
- name: file | ||
args: | ||
path: /tmp/exporter.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.