Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Fix: duplicates bug in SNTMetricSet when using multiple fields #920

Merged
merged 3 commits into from
Oct 28, 2022

Conversation

pmarkowsky
Copy link
Contributor

Fix a bug in SNTMetricSet that was producing duplicates of a metric cell when the metric had multiple fields.

Other Changes

  • This changes the santactl metric command to print metrics with multiple fields as key value pairs e.g. key=value,key2=value2
  • Updates to JSON test files.

@pmarkowsky pmarkowsky added bug metrics Code / work related to Santa observability / monitoring santactl labels Oct 27, 2022
@pmarkowsky pmarkowsky self-assigned this Oct 27, 2022
@pmarkowsky pmarkowsky force-pushed the markowsky/fix-snt-metric-set branch from 364b1bc to a722c40 Compare October 27, 2022 20:24
Source/santactl/Commands/SNTCommandMetrics.m Outdated Show resolved Hide resolved
Source/santactl/Commands/SNTCommandMetrics.m Outdated Show resolved Hide resolved
Source/santactl/Commands/SNTCommandMetrics.m Outdated Show resolved Hide resolved
Source/santactl/Commands/SNTCommandMetrics.m Outdated Show resolved Hide resolved
@pmarkowsky pmarkowsky merged commit 4821ebe into google:main Oct 28, 2022
@pmarkowsky pmarkowsky deleted the markowsky/fix-snt-metric-set branch October 28, 2022 17:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug metrics Code / work related to Santa observability / monitoring santactl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants