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

Initial commit of santametricservice. #605

Merged
merged 15 commits into from
Sep 22, 2021

Conversation

pmarkowsky
Copy link
Contributor

@pmarkowsky pmarkowsky commented Sep 22, 2021

This adds a barebones XPC helper service to format and write metrics for monitoring systems. The structure is pretty basic with formaters and writers separated into subpackages. This initial commit only has support for the rawJSON format and writing to a file.

This is a new daemon to be included. Docs and packaging will be updated to include this in the final product will be in future PRs.

This is part of the work for #563 .

The santametricservice is an XPC helper service to write metrics. It consists of Formatters and Writers. This initial commit only has support for the rawJSON format and writing to a file.

This is a new daemon to be included. Docs and packaging will be updated in future PRs.
@pmarkowsky pmarkowsky added the metrics Code / work related to Santa observability / monitoring label Sep 22, 2021
@google-cla google-cla bot added the cla: yes label Sep 22, 2021
@pmarkowsky pmarkowsky linked an issue Sep 22, 2021 that may be closed by this pull request
Copy link
Collaborator

@russellhancox russellhancox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run clang-format and buildifier

Source/santametricservice/BUILD Outdated Show resolved Hide resolved
Source/santametricservice/Formats/SNTMetricRawJsonFormat.h Outdated Show resolved Hide resolved
Source/santametricservice/Formats/SNTMetricRawJsonFormat.m Outdated Show resolved Hide resolved
Source/santametricservice/Formats/SNTMetricRawJsonFormat.m Outdated Show resolved Hide resolved
Source/santametricservice/Formats/SNTMetricRawJsonFormat.m Outdated Show resolved Hide resolved
docs/deployment/configuration.md Outdated Show resolved Hide resolved
Source/santametricservice/Writers/SNTMetricWriter.h Outdated Show resolved Hide resolved
Source/santametricservice/Writers/SNTMetricFileWriter.m Outdated Show resolved Hide resolved
Source/santametricservice/Writers/SNTMetricFileWriter.m Outdated Show resolved Hide resolved
Source/santametricservice/SNTMetricServiceTest.m Outdated Show resolved Hide resolved
Source/santametricservice/SNTMetricServiceTest.m Outdated Show resolved Hide resolved
Source/santametricservice/SNTMetricServiceTest.m Outdated Show resolved Hide resolved
Source/santametricservice/SNTMetricServiceTest.m Outdated Show resolved Hide resolved
Source/santametricservice/SNTMetricServiceTest.m Outdated Show resolved Hide resolved
Source/santametricservice/SNTMetricServiceTest.m Outdated Show resolved Hide resolved
Source/santametricservice/SNTMetricServiceTest.m Outdated Show resolved Hide resolved
Source/santametricservice/Writers/SNTMetricFileWriter.m Outdated Show resolved Hide resolved
pmarkowsky and others added 2 commits September 22, 2021 14:07
Co-authored-by: Russell Hancox <russellhancox@users.noreply.github.com>
@pmarkowsky pmarkowsky merged commit 1c97761 into google:main Sep 22, 2021
@pmarkowsky pmarkowsky deleted the markowsky/metrics-service branch September 22, 2021 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes metrics Code / work related to Santa observability / monitoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide support for Open Source metrics
3 participants