The project is in a healthy, maintained state
Datadog actions for iOS development
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Dependencies
 Project Readme

datadog plugin

fastlane Plugin Badge

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-datadog, add it to your project by running:

fastlane add_plugin datadog

About datadog

Datadog plugin helps you uploading dSYM files to Datadog in order to symbolicate crash reports.

If you are sending crashes to Datadog, they will appear without symbol names. You also need to provide dSYM files to symbolicate your crash reports.

When used with download_dsyms action, no need to specify dsym_paths parameter. This action is a wrapper around datadog-ci npm package, you can look at datadog-ci documentation for more info.

Example

Check out the example Fastfile to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins and bundle exec fastlane test.

You can use DATADOG_API_KEY environment variable instead of api_key parameter in Fastfile.

# upload symbols from...
lane :upload_dsyms do
  upload_symbols_to_datadog(
    api_key: "datadog-api-key",
    dsym_paths: [
      "~/Downloads/appdSYMs.zip", # ...a zip file...
      "~/some/folder/with/dsym/files/" # ...or from a folder
    ]
  )
end

# download_dsyms action feeds dsym_paths automatically
lane :upload_dsym_with_download_dsyms do
  download_dsyms
  upload_symbols_to_datadog(api_key: "datadog-api-key")
end

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.