Low commit activity in last 3 years
No release in over a year
Datadog actions for iOS development
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 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 as well as the DATADOG_SITE instead of the site parameter.

# 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

# Upload to EU site
lane :upload_dsym_with_download_dsyms do
  download_dsyms
  upload_symbols_to_datadog(
    api_key: "datadog-api-key",
    site: 'datadoghq.eu'
  )
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.