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

Startup Profiling 2 - Add options and sampling logic #3121

Commits on Dec 21, 2023

  1. added TransactionContext.isForNextStartup

    added SentryOptions.enableStartupProfiling
    stefanosiano committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    ed69adc View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2023

  1. added SentryStartupProfilingOptions class with Json ser/deser

    added startupProfilingConfigFile deletion and creation on init
    added sampling decision on SDK init with isForNextStartup flag set to true
    added SentryOptions.getCacheDirPathWithoutDsn for startupProfiling config file
    stefanosiano committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    3f7d206 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feat/early-profiling1-decouple-profiler-transaction' in…

    …to feat/startup-profiling2-add-options
    
    # Conflicts:
    #	sentry/src/main/java/io/sentry/SentryOptions.java
    #	sentry/src/test/java/io/sentry/SentryOptionsTest.kt
    #	sentry/src/test/java/io/sentry/SentryTest.kt
    stefanosiano committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    1727f76 View commit details
    Browse the repository at this point in the history
  3. updated changelog

    stefanosiano committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    a44b5e3 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. put startup config deletion inside try catch

    used FileOutputStream instead for FileWriter
    stefanosiano committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    c4b79d2 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Startup Profiling 3 - Add ContentProvider and start profile (#3128)

    * first activity transaction now inherits startup sampling decision, if available
    * if a startup profiler was instantiated, it will be reused in AndroidOptionsInitializer, instead of creating a new one
    * added ITransactionProfiler.isRunning
    * startup profiler and sampling decision is stored in AppStartMetrics
    * startup profile is bound to the startup transaction
    * added io.sentry.profiling.enable-startup manifest option
    * moved profilingTracesHz from SentryAndroidOptions to SentryOptions
    * added startup profiling launch in SentryPerformanceProvider
    * added isStartupTransaction to TransactionOptions
    stefanosiano authored Jan 12, 2024
    Configuration menu
    Copy the full SHA
    7d13d65 View commit details
    Browse the repository at this point in the history
  2. updated changelog

    stefanosiano committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    4aa19d2 View commit details
    Browse the repository at this point in the history