Swiftpack.co - spotify/XCMetrics as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by spotify.
spotify/XCMetrics v0.0.8
XCMetrics is the easiest way to collect Xcode build metrics and improve developer productivity.
⭐️ 854
🕓 1 week ago
macOS
.package(url: "https://github.com/spotify/XCMetrics.git", from: "v0.0.8")

XCMetrics is the easiest way to collect Xcode builds metrics and improve your developer productivity.

Build Status License Docker image Slack

Overview

  • 📈 Keep your build times under control and monitor which targets are taking the longest to compile.
  • ⚠️ Collect warnings to improve your code health.
  • ❌ Collect errors to help and diagnose builds problems in real-time.
  • 🛠 Build custom plugins to collect an infinite amount of metadata to be attached to each build, such as version control information and thermal throttling.

XCMetrics is built on top of XCLogParser, which is a tool that can parse Xcode and xcodebuild logs stored in the xcactivitylog format. This allows XCMetrics to collect accurate metrics for you to review and keep track during the lifetime of a codebase. XCMetrics has collected almost 1 million builds and over 10 billion steps from all Spotify iOS applications since its introduction. It has allowed us to make important and informed decision in regards to our project structure and architecture.

Getting Started

Head over to our Getting Started docs to see how to integrate XCMetrics in your project.

Develop

XCMetrics is built using Swift Package Manager, you just need to open the Package.swift file in Xcode:

xed Package.swift

Support

Create a new issue with as many details as possible. It's important that you follow the issue template and include all required information in order for us to get back to you as soon as possible.

Reach us at the #xcmetrics channel in Slack.

Contributing

We feel that a welcoming community is important and we ask that you follow Spotify's Open Source Code of Conduct in all interactions with the community.

Authors

A full list of contributors can be found on GitHub.

Follow @SpotifyEng on Spotify for updates.

License

Copyright 2020 Spotify, Inc.

Licensed under the Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0

This product includes software developed by the "Marcin Krzyzanowski" (http://krzyzanowskim.com/).

Security Issues?

Please report sensitive security issues via Spotify's bug-bounty program rather than GitHub.

GitHub

link
Stars: 854
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Daily jobs, support for tags, bug fixing
1 week ago
  • Adds a new scheduled job that aggregates the number of builds per day. To run it, start the Backend with the --scheduled option:
command: ["./XCMetricsBackend",
                  "queues",
                  "--scheduled",
                  "--env",
                  "production"]
  • Fixes the issue https://github.com/spotify/XCMetrics/issues/62 where Tags and Hardware information were not being saved
  • Adds a new truncateLargeIssues flag to the client to truncate the number of issues reported per task to 100. Useful to save database space and fix memory issues in the Backend

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics