Skip to content

Latest commit

 

History

History
522 lines (414 loc) · 17.8 KB

CHANGELOG.md

File metadata and controls

522 lines (414 loc) · 17.8 KB

1.13.4

  • Bump agent to v-4548c88
    • Fix issue with host metrics values being reported as "Infinity". PR #572

1.13.3

  • Add callback for TransactionBehaviour.set_sample_data/2. PR #560
  • Use tls 1.3 cipher suites on OTP 23. PR #571

1.13.2

  • Handle non-string-non-atom-non-iteger values in Transaction.to_s/1 Commit 772cb943b6d545942a50042a268d441973adab23

1.13.1

  • Use __STACKTRACE__ /0 on Elixir >= 1.7. PR 559
  • Relax live_view dependency to allow versions over 0.9. PR #558
  • Bump agent to v-96b684b
    • Check if queued payloads are for correct app and not expired

1.13.0

  • Add LiveView instrumentation helpers. PR #549
  • Fix typespec for Appsignal.Phoenix.Channel.channel_action/4. PR #553
  • Add record event callback to TransactionBehaviour. PR #555

1.12.1

  • EventHandler handles router_dispatch events with plug_opts #547

1.12.0

  • Add explicit error handling for Phoenix channels. PR #527

  • Add Phoenix Telemetry event handler to add Phoenix 1.5 instrumentation. PR #528 & #538

    Before version Phoenix version 1.5. AppSignal’s Phoenix instrumentation depended on data from the Phoenix instrumenter, and the installation instructions included a step to attach AppSignal’s instrumenter to your application in your app’s configuration:

    config :appsignal_phoenix_example, AppsignalPhoenixExampleWeb.Endpoint,
      #...
      instrumenters: [Appsignal.Phoenix.Instrumenter]
    

    From Phoenix 1.5 on, the old Phoenix instrumentation is deprecated and removed in favor of the new Telemetry-based instrumentation. When upgrading to Phoenix 1.5, you’ll see a warning during compilation when using the old instrumenters:

    [warn] :instrumenters configuration for
    AppsignalPhoenixExampleWeb.Endpoint is deprecated and has no effect
    

    To switch to the new instrumentation, make sure you're running version 1.12.0 of the AppSignal integration or higher. Then, remove the instrumenters configuration option from your endpoint configuration. The new instrumentation should appear automatically in your samples as an event named call.phoenix_endpoint.

1.11.8

  • Reduce calls to pids_and_monitor_references/1 and :ets.match/1 #543. PR #543

1.11.7

  • Return the Ecto.LogEntry even if the transaction is nil. PR #542

1.11.6

  • Call pids_and_monitor_references/1 from TransactionRegistry. PR #541

1.11.5

  • Use a complete set of ssl_options for Hackney. PR #534

1.11.4

  • Add transaction_debug configuration option. PR #526
  • Bump agent to v-c348132
    • Improve transmitter logging on timeout
    • Improve queued payloads transmitter. Should prevent payloads being sent multiple times.
    • Add transaction debug mode
    • Wrap Option in Mutex in TransactionInProgess

1.11.3

  • Transaction.set_action/2 returns the Transaction on failure. commit 16e5ecbc90aece993177da7e1b2486fa477e25e8
  • Don't match on :ok on Appsignal.Plug.finish_with_conn/2. commit ebc7dd968a9bbeff3447e8f84dab181205f976ed

1.11.2

  • Run receiver monitors in receiver process. PR #525.
  • Move action nil-check to Appsignal.Transaction.set_action/2. PR #523.

1.11.1

  • Don't match on return from Transaction.complete/1. PR #521

1.11.0

  • Convert time units for all Ecto callbacks. PR #481
  • Deactivate AppSignal when not active. PR #478
  • Fix FreeBSD compilation. PR #484
  • Extract ETS and Receiver logic from TransactionRegistry. PR #505
  • Add support for both Jason and Poison. PR #506
  • Add Erlang Run Queue length metric. PR #492
  • Filter structs in MapFilter. PR #507

1.10.13

  • OTP 22.1 hackney workaround for honor_cipher_order. PR #516
  • Bump agent to v-690f4b8 - commit 5245f919d975135d553a89b019c421e1fe27edd3
    • Validate transmission_interval option.

1.10.12

  • Bump agent to v-e1c9363
    • Better detect zombie/defunct processes on containers and consider the processes dead. This should improve the appsignal-agent start behavior.
    • Detect revision from Heroku dynos automatically when Dyno Metadata is turned on.

1.10.11

  • Bump agent to v-a718022

1.10.10

  • Restore get_filter_(parameters|session_data) to patch backwards compatibility. PR #500

1.10.9

  • Support parameter filtering with {:keep, params}. PR #499

1.10.8

  • Handle non-maps in Config.active?/0. PR #495
  • Use Phoenix >= 1.2.0 and < 1.4.0 on Elixir 1.3. PR #496

1.10.7

  • Fix musl detection on installation. PR #493

1.10.6

  • Use the bundled certificate and ciphers when downloading agent (#491)
  • Explicitly set ciphers in hackney https requests (#489)
  • Remove log statements from TransactionRegisty (#490)
  • Improve ldd version error handling (#487)

1.10.5

  • Remove explicit ignore check in TransactionRegistry. PR #480
  • Handle errors in Mix.Appsignal.Helper.uid/0. PR #479

1.10.4

  • Handle atom keys in MapFilter.filter_values/2. PR #475

1.10.3

  • Track memory metrics of the current process. PR #473

1.10.2

  • Fix memory leak in custom metrics key names. Commit 91c65e51cc949e66b3f504444f3570858a598352

1.10.1

  • Add enable_minutely_probes config option. PR #470
  • Tag hostnames in ErlangProbe. PR #469
  • Don't use fetch_env!/2 in ErlangProbe. PR #471

1.10.0

  • Store extension installation details in report. PR #433
  • Fail AppSignal extension installation on warnings Commit 7b17a0b86f87ea7097315d1247ccd52c78be8e97
  • Rescue make command errors Commit 69efc629eaa0a3f3a3e2d8c3871f3c7bba86c151
  • Add response status codes to Plug samples. PR #453
  • Use :logger instead of :error_logger on OTP >= 21. PR #454
  • Allow Appsignal.Plug.call/2 to be overridden. PR #464
  • Use proxy from system environment when downloading agent. PR #458
  • Bump agent to 4a275d3 Commit 0635e043d4b299d7ec838f89ca4d36c3ed3792ce
    • Support container CPU host metrics.
    • Support StatsD server in agent.
    • Fix samples being reported for multiple namespaces.
    • Report memory and swap usage in percent using the memory_usage and swap_usage metrics.
  • Add Erlang Probe. PR #466
  • Minutely Probing for Custom Metrics. PR #461

1.9.4

  • Update Ecto integration to support both Telemetry 0.3.x and 0.4.x. PR #459

1.9.3

  • Support send_params option. PR #456

1.9.2

  • Fix multi user permission issue for agent directories and files. Commit fdd650097b702a8aa60ee90ee93ad4e3e3365d81

1.9.1

  • Block on ignoring PIDs in TransactionRegistry. PR #448

1.9.0

  • Add missing host OS field to diagnose report. PR #418
  • Link back to AppSignal diagnose report page. PR #420
  • Add Error.metadata/2 to extract error metadata. PR #423
  • Format values printed in the diagnose. PR #426
  • Update diagnose paths section. PR #427
  • Add unified ErrorHandler. PR #425
  • Fix appsignal.log default path. PR #429
  • Support container memory host metrics better. PR #431
  • Change files_world_accessible permissions to not make files executable. PR #431
  • Make agent debug logging for disk IO metrics more robust. PR #431

1.8.2

  • Add Appsignal.Ecto.handle_event/4 to support Ecto 3. PR #416
  • Add diagnose command --[no-]send-report option. PR #414
  • Group extension and agent tests in diagnose output. PR #413
  • Add new agent & extension diagnose report keys. PR #412
  • Pretty print lists in diagnose output. PR #408
  • Add :poison to :applications. PR #404
  • Add :hackney to :applications. PR #403
  • Allow Appsignal.send_error/1-7 to be called without a stack trace. PR #400
  • Use Mix.shell.info instead of Logger.info in mix helpers. PR #399

1.8.1

  • Fix linking issues on multi-stage build setups. PR #406

1.8.0

  • Add working_directory_path config option. PR #363
  • Use doubles values in custom metrics functions. PR #384
  • Support Elixir 1.7. PR #386

1.7.2

  • Ensure ca_file_path is written to agent env. PR #381
  • Use gmake over make when gmake executable exists. PR #382

1.7.1

  • Fix absolute path to CA certificate file. PR #380

1.7.0

  • Bundle CA certificate. PR #364
  • Add Appsignal.Transaction.set_namespace/1-2. PR #361
  • Use :hackney instead of cURL to download agent. PR #359

1.6.7

  • Revert container memory metrics fixes. PR #370
  • Fix _APP_REVISION read logic in extension. PR #370
  • Fix _APPSIGNAL_PROCESS_NAME read logic in extension. PR #370

1.6.6

  • Add container memory metrics fixes.
  • Use local agent environment instead of system environment. PR #368

1.6.5

  • Allow calling Transaction.register/1 and Transaction.complete/1 when the Registry is not alive. PR #356

1.6.4

  • Overwrite message for Phoenix.ActionClauseError. PR #355

1.6.3

  • Remove script_name, query_string and peer from Plug.extract_sample_data/1. PR #351

1.6.2

  • Merge instead of ignore Phoenix's :filter_parameters if also configured in AppSignal. PR #349

1.6.1

  • Remove request_headers warning and use sane default. PR #346
  • Fix metrics format for internal agent metrics. PR #347

1.6.0

  • Explicit header whitelist in configuration (#336)
  • Add filter_session_data config option (#343)
  • Log with :info level instead of :warn when AppSignal is disabled (#340)
  • Remove default hostname (#339)
  • Remove filter_parameters config for extension (#337)
  • Demonitor processes when the transaction completes (#333)
  • Hard-remove transactions from the Registry (#332)
  • Accept tags for (custom) metrics (#331)
  • Don't register Transactions created by Appsignal.send_error/7 (#330)
  • Remove transaction when calling Transaction.complete (#329)
  • Add :request_headers and APPSIGNAL_REQUEST_HEADERS configuration (#327)
  • Filter arguments in backtraces (#326)
  • Relax :httpoison dependency to allow ~> 1.0 (#322)

1.5.0

  • Add agent.exs file to package in mix.exs (#323)
  • Restore :revision config (#315)
  • Underscored environment variables are always overwritten (#316)
  • Move compilation helper functions to mix_helpers.exs (#314)
  • Use "unknown" as action for Plug-only transactions, set action before call/2 (#311)
  • Bump agent to ca32965 (#310, #315)
    • Underscore _APP_REVISION environment variable.
    • Unset revision config option when the APP_REVISION environment variable only contains an empty string.
    • Fix locking issue on diagnose mode run
    • Increase stored length of error messages

1.4.10

  • Fix POST parameters in errors, take the Plug.Conn from Plug.Conn.WrapperErrors (#309)

1.4.9

  • Add x-real-ip to request header whitelist (#308)
  • ErrorHandler doesn't cause warnings for noise over handle_info (#304)

1.4.8

  • Fix transaction metadata for send_error (#303)
  • Use Application.load/1 in diagnose task (#297)
  • Fix DataEncoder.encode error (#293)
  • Update agent to fix locking issue in diagnose (#300)

1.4.7

  • Fix compile errors on Elixir 1.6 (#298)

1.4.6

  • Wrap WrapperError clause in Appsignal.plug? (#291)
  • Don't use Plug.ErrorHandler.catch/4 in Appsignal.Plug (#287)

1.4.5

  • Ensure the appsignal application is started when running diagnose (#286)

1.4.4

  • ErrorHandler unwraps Plug.Conn.WrapperError (#281)
  • Fetch request_id in Appsignal.Plug.extract_meta_data/1 (#283)

1.4.3

  • Fix dialyzer linting violations. (#271)
  • Fix logger error on failed installation. (#275)
  • Reuse Appsignal.agent module by unloading it after use in mix.exs. (#277)

1.4.2

  • Change log level from info to debug for value comparing failures. Commit 76fafebba5e37cfd2c303c286271f4616cf63bd3
  • Collect free memory host metric. Commit 76fafebba5e37cfd2c303c286271f4616cf63bd3

1.4.1

  • Use musl build for older systems (#274)

1.4.0

  • Add separate GNU linux build. PR #265 and Commit b9546cae01cd89d597586ad6c7dc4b5213fe2fca
  • Add separate FreeBSD build Commit b9546cae01cd89d597586ad6c7dc4b5213fe2fca
  • Auto restart agent when none is running Commit b9546cae01cd89d597586ad6c7dc4b5213fe2fca

1.3.6

  • Fix crashes when using a transaction from multiple processes in an unsupported way. Commit b9546cae01cd89d597586ad6c7dc4b5213fe2fca
  • Allow string values in atom config fields (#269)

1.3.5

  • Allow multiple calls to send_error in one Transaction (#260)

1.3.4

  • Allow configuration of permissions of working directory. (#246)
  • Fix locking bug that delayed extension shutdown. Commit 1953b2abced8c477af3eb973cc71b98c20761b51
  • Log extension start with app revision if present Commit 1953b2abced8c477af3eb973cc71b98c20761b51

1.3.3

  • No channel payloads in the channel_action decorator (#255)
  • Add architecture for elixir:alpine Docker image (#256)

1.3.2

  • Don't crash with unbound channel payloads (#253)

1.3.1

  • Appsignal.Phoenix.Channel.channel_action/5 includes channel parameters (#251)
  • Add files world accessible option to config (#246)

1.3.0

  • Plug support without Phoenix
  • Transaction.set_request_metadata sets path and method
  • Add arch mapping for 32bit linux
  • Check if curl is installed before calling it
  • Add ignore_namespaces option
  • Whitelist request headers

1.2.3

  • Add architecture mappings for 32bit systems. (#229)

1.2.2

  • Better backtraces for linked processes (#207)
  • Backtrace.format_stacktrace handles lists of binaries (#214)

1.2.1

  • Allow nil transaction in instrumentation (#198)
  • ErrorHandler handles errors in tuples (#201)
  • Set env: Mix.env in generated config.exs (#203)
  • Improve registry lookup performance (#205)

1.2.0

  • Catch and handle errors in the Plug using Plug.ErrorHandler instead of in Appsignal.ErrorHandler (#187 & #193)

1.1.1

  • Fix unpacking agent tar as root (#179)
  • Add Instrumentation.Helpers.instrument/3
  • Add Appsignal.Backtrace, deprecate ErrorHandler.format_stack/1

1.1.0

  • Depend on Phoenix >= 1.2.0 instead of ~> 1.2.0 (#167)
  • Reload the config in a separate process (#166)
  • Add action names to exceptions (#162)

1.0.4

  • Fix propagation of transaction decorator return value (#164)

1.0.3

  • Force the agent to run in diagnostics mode even if the app's config doesn't have AppSignal marked as active. (#132 and #160)
  • Remove duplicate config file linking output in installer (#159)
  • Upon install deactive test env if available rather than activate any other env (#159)
  • Print missing APPSIGNAL_APP_ENV env var in installation instructions. (#161)

1.0.2

  • Remove extra comma from generated config/appsignal.exs (#158)

1.0.1

  • Remove (confusing revision logic) (#154)

1.0.0

  • Bump to 1.0.0 🎉

0.13.0

  • Send demo samples on install (#136)
  • Make mix tasks available in releases (#146)
  • Rename Phoenix framework event names (#148)
  • Open and close Transactions in Appsignal.Phoenix.Plug.call/2 (#131)

0.12.3

  • Move package version to a module attribute (#143)

0.12.2

  • Bump agent to 5464697
  • Check agent version in Mix.Appsignal.Helper.ensure_downloaded/1 (#141)

0.12.1

  • Upgrade HTTPoison and allow more versions

0.12.0

  • Add mix appsignal.diagnose task (#81)
  • Auto activate when push_api_key in env, not always (#89)
  • Bump agent to f81fe90
  • Implement running_in_container detection.
  • Fix DNS issue with musl and resolv.conf using "search" on the first line of configuration.
  • Use agent.ex instead of agent.json, drop Poison dependency (#115)
  • DataEncoder encodes bignums as strings (#88)
  • Remove automatic :running_in_container setting (moved to agent)

0.11.6

  • Send body->data instead of body to appsignal_finish_event

0.11.5

  • Bump agent to version with extra null pointer protection

0.11.4

  • Bump agent (360f06b)

0.11.3

  • Update musl version to fix DNS search issue (a8e6f23)

0.11.2

  • Add support for non-strings as map values in DataEncoder.encode/1 (#83)

0.11.1

  • Add phoenix as optional dependency to :prod (#80)
  • Add the module name to the transaction action while using decorators (#79)

0.11.0

  • Re-initialize Appsignal's config after a hot code upgrade. (#71)
  • Send all request headers (#75)
  • Add ErrorHandler.normalize_reason (#78)
  • Elixir 1.4 compatibility
  • Add fix for grabbing filter_parameters from Phoenix (#73)
  • Add Alpine linux (#77)
  • Add appsignal.demo mix task (#69)
  • Drop Phoenix dependency #61

0.10.0

  • Check Appsignal.started?/1 in TransactionRegistry.lookup/2 (#54)
  • Various configuration fixes (#55)
  • Use APPSIGNAL_APP_ENV instead of APPSIGNAL_ENVIRONMENT (#56)
  • The agent logs to STDOUT on Heroku (#60)
  • Add a transcation decorator (#62)
  • Update agent to 5f0c552 (#64)
  • Enable host metrics by default (#66)
  • DataEncoder.encode/2 handles tuples (#68)
  • Registry.register/1 returns nil if Appsignal is not started (#70)
  • Appsignal.Transaction.set_error/4 handles unformatted stacktraces (#72)
  • Fix missing paren warnings in Elixir 1.4 (#59)
  • Add suport to refs and pids inside payloads (#57)
  • Add centos/redhat support for agent installation (#48)

0.9.2

  • Fix Makefile for spaces in path names
  • Set APPSIGNAL_IGNORE_ACTIONS from config (#41)
  • Send metadata in Appsignal.ErrorHandler.submit_transaction/6 (#40)
  • Add a section suggesting active: false in test env (#35)

0.9.1

  • Appsignal.Helpers has been moved to Appsignal.Instrumentation.Helpers

0.9.0

  • Remove instrumentation macros, switch to decorators
  • Update channel decorators documentation
  • Documentation on instrumentation decorators
  • Let Appsignal.{set_gauge, add_distribution_value} accept integers (#31)
  • Implement Appsignal.send_error (#29)
  • Add documentation for filtered parameters (#28)
  • Appsignal.Utils.ParamsEncoder.preprocess/1 handles structs (#30)

0.8.0

  • Experimental support for channels
  • Add instrument_def macro for defining a single instrumented function
  • Document that we are using a NIF and how it is used
  • Simplified transaction functions no longer raise
  • Don't warn about missing config when running tests
  • remember original stacktrace in phoenix endpoint (#26)

0.7.0

  • Allow Phoenix filter parameters and/or OS env variable to be used
  • Send Phoenix session information
  • Simplify Transaction API: Default to the current process transaction
  • Add Transaction.filter_values/2
  • Transaction.set_request_metadata/2 filters parameters
  • Fix host metrics config key in GettingStarted