Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .run/agent-check-disk.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="agent-check-disk" type="GoApplicationRunConfiguration" factoryName="Go Application" nameIsGenerated="true">
<module name="stackstate-agent" />
<working_directory value="$PROJECT_DIR$" />
<useCustomBuildTags value="true" />
<parameters value="-c $PROJECT_DIR$/cmd/agent/dist/datadog.yaml check disk" />
<kind value="PACKAGE" />
<filePath value="$PROJECT_DIR$/cmd/agent/main.go" />
<package value="github.com/StackVista/stackstate-agent/cmd/agent" />
<directory value="$PROJECT_DIR$" />
<method v="2" />
</configuration>
</component>
5 changes: 3 additions & 2 deletions cmd/agent/dist/conf.d/disk.d/conf.yaml.default
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ instances:
# The (optional) excluded_filesystems parameter will instruct the check to
# ignore disks using these filesystems. Note: On some linux distributions,
# rootfs will be found and tagged as a device, add rootfs here to exclude.
# excluded_filesystems:
# - tmpfs
excluded_filesystems:
- tmpfs
- squashfs

# The (optional) excluded_disks parameter will instruct the check to
# ignore this list of disks.
Expand Down
Loading