Note
|
Release notes are best read in our documentation at elastic.co |
-
GRPC support {pull}1703[#1703]
-
Fix an async issue with long elasticsearch queries {pull}1725[#1725]
-
Fix error in Elasticsearch instrumentation when spans are dropped {pull}1690[#1690]
-
Lower log level for errors in APM Server version fetching {pull}1692[#1692]
-
Fix for missing parent.id when logging from a DroppedSpan under a leaf span {pull}1695[#1695]
-
Fix elasticsearch instrumentation for track_total_hits=False {pull}1687[#1687]
-
Add support for Python 3.11
-
Add backend granularity data to SQL backends as well as Cassandra and pymongo {pull}1585[#1585], {pull}1639[#1639]
-
Add support for instrumenting the Elasticsearch 8 Python client {pull}1642[#1642]
-
Add
principal
to defaultsanitize_field_names
configuration {pull}1664[#1664] -
Add docs and better support for custom metrics, including in AWS Lambda {pull}1643[#1643]
-
Add support for capturing span links from AWS SQS in AWS Lambda {pull}1662[#1662]
-
Fix Django’s
manage.py check
when agent is disabled {pull}1632[#1632] -
Fix an issue with long body truncation for Starlette {pull}1635[#1635]
-
Fix an issue with transaction outcomes in Flask for uncaught exceptions {pull}1637[#1637]
-
Fix Starlette instrumentation to make sure transaction information is still present during exception handling {pull}1674[#1674]
-
Add redis query to context data for redis instrumentation {pull}1406[#1406]
-
Add AWS request ID to all botocore spans (at
span.context.http.request.id
) {pull}1625[#1625]
-
Differentiate Lambda URLs from API Gateway in AWS Lambda integration {pull}1609[#1609]
-
Restrict the size of Django request bodies to prevent APM Server rejection {pull}1610[#1610]
-
Restrict length of
exception.message
for exceptions captured by the agent {pull}1619[#1619] -
Restrict length of Starlette request bodies {pull}1549[#1549]
-
Fix error when using elasticsearch(sniff_on_start=True) {pull}1618[#1618]
-
Improve handling of ignored URLs and capture_body=off for Starlette {pull}1549[#1549]
-
Fix possible error in the transport flush for Lambda functions {pull}1628[#1628]
-
Fixed an issue with non-integer ports in Django {pull}1590[#1590]
-
Fixed an issue with non-integer ports in Redis {pull}1591[#1591]
-
Fixed a performance issue for local variable shortening via
varmap()
{pull}1593[#1593] -
Fixed
elasticapm.label()
when a Client object is not available {pull}1596[#1596]
-
Fix an issue with Kafka instrumentation and unsampled transactions {pull}1579[#1579]
-
Add instrumentation for
aiobotocore
{pull}1520[#1520] -
Add instrumentation for
kafka-python
{pull}1555[#1555] -
Add API for span links, and implement span link support for OpenTelemetry bridge {pull}1562[#1562]
-
Add span links to SQS ReceiveMessage call {pull}1575[#1575]
-
Add specific instrumentation for SQS delete/batch-delete {pull}1567[#1567]
-
Add
trace_continuation_strategy
setting {pull}1564[#1564]
-
Fix return for
opentelemetry.Span.is_recording()
{pull}1530[#1530] -
Fix error logging for bad SERVICE_NAME config {pull}1546[#1546]
-
Do not instrument old versions of Tornado > 6.0 due to incompatibility {pull}1566[#1566]
-
Fix transaction names for class based views in Django 4.0+ {pull}1571[#1571]
-
Fix a problem with our logging handler failing to report internal errors in its emitter {pull}1568[#1568]
-
Fix
otel_attributes
-related regression with older versions of APM Server (<7.16) {pull}1510[#1510]
-
Add OpenTelemetry API bridge {pull}1411[#1411]
-
Change default for
sanitize_field_names
to sanitizeauth
instead ofauthorization
{pull}1494[#1494] -
Add
span_stack_trace_min_duration
to replace deprecatedspan_frames_min_duration
{pull}1498[#1498] -
Enable exact_match span compression by default {pull}1504[#1504]
-
Allow parent celery tasks to specify the downstream
parent_span_id
in celery headers {pull}1500[#1500]
-
Fix Sanic integration to properly respect the
capture_body
config {pull}1485[#1485] -
Lambda fixes to align with the cross-agent spec {pull}1489[#1489]
-
Lambda fix for custom
service_name
{pull}1493[#1493] -
Change default for
stack_trace_limit
from 500 to 50 {pull}1492[#1492] -
Switch all duration handling to use
datetime.timedelta
objects {pull}1488[#1488]
-
use "unknown-python-service" as default service name if no service name is configured {pull}1438[#1438]
-
add transaction name to error objects {pull}1441[#1441]
-
don’t send unsampled transactions to APM Server 8.0+ {pull}1442[#1442]
-
implement snapshotting of certain configuration during transaction lifetime {pull}1431[#1431]
-
propagate traceparent IDs via Celery {pull}1371[#1371]
-
removed Python 2 compatibility shims {pull}1463[#1463]
-
Note: Python 2 support was already removed with version 6.0 of the agent, this now removes unused compatibilit shims.
-
-
fix span compression for redis, mongodb, cassandra and memcached {pull}1444[#1444]
-
fix recording of status_code for starlette {pull}1466[#1466]
-
fix aioredis span context handling {pull}1462[#1462]
-
fix AttributeError in sync instrumentation of httpx {pull}1423[#1423]
-
add setting to disable span compression, default to disabled {pull}1429[#1429]
-
fix an issue with Sanic exception tracking {pull}1414[#1414]
-
asyncpg: Limit SQL queries in context data to 10000 characters {pull}1416[#1416]
-
Add support for Sanic framework {pull}1390[#1390]
-
fix compatibility issues with httpx 0.21 {pull}1403[#1403]
-
fix
span_compression_exact_match_max_duration
default value {pull}1407[#1407]
-
fix an issue with
metrics_sets
configuration referencing theTransactionMetricSet
removed in 6.6.2 {pull}1397[#1397]
-
Fix an issue where compressed spans would count against
transaction_max_spans
{pull}1377[#1377] -
Make sure HTTP connections are not re-used after a process fork {pull}1374[#1374]
-
Fix an issue with psycopg2 instrumentation when multiple hosts are defined {pull}1386[#1386]
-
Update the
User-Agent
header to the new spec {pull}1378[#1378] -
Improve status_code handling in AWS Lambda integration {pull}1382[#1382]
-
Fix
aiohttp
exception handling to allow for non-500 responses includingHTTPOk
{pull}1384[#1384] -
Force transaction names to strings {pull}1389[#1389]
-
Remove unused
http.request.socket.encrypted
context field {pull}1332[#1332] -
Remove unused transaction metrics (APM Server handles these metrics instead) {pull}1388[#1388]
-
Fix some context fields and metadata handling in AWS Lambda support {pull}1368[#1368]
-
Add experimental support for AWS lambda instrumentation {pull}1193[#1193]
-
Add support for span compression {pull}1321[#1321]
-
Auto-infer destination resources for easier instrumentation of new resources {pull}1359[#1359]
-
Add support for dropped span statistics {pull}1327[#1327]
-
Ensure that Prometheus histograms are encoded correctly for APM Server {pull}1354[#1354]
-
Remove problematic (and duplicate)
event.dataset
from logging integrations {pull}1365[#1365] -
Fix for memcache instrumentation when configured with a unix socket {pull}1357[#1357]
-
Add instrumentation for Azure Storage (blob/table/fileshare) and Azure Queue {pull}1316[#1316]
-
Improve span coverage for
asyncpg
{pull}1328[#1328] -
aiohttp: Correctly pass custom client to tracing middleware {pull}1345[#1345]
-
Fixed an issue with httpx instrumentation {pull}1337[#1337]
-
Fixed an issue with Django 4.0 removing a private method {pull}1347[#1347]
-
Rename the experimental
log_ecs_formatting
config tolog_ecs_reformatting
{pull}1300[#1300] -
Add support for Prometheus histograms {pull}1165[#1165]
-
Fixed cookie sanitization when Cookie is capitalized {pull}1301[#1301]
-
Fix a bug with exception capturing for bad UUIDs {pull}1304[#1304]
-
Fix potential errors in json serialization {pull}1203[#1203]
-
Fix an issue with certain aioredis commands {pull}1308[#1308]
-
ensure that the elasticsearch instrumentation handles DroppedSpans correctly {pull}1190[#1190]
-
Fix handling of non-http scopes in Starlette/FastAPI middleware {pull}1187[#1187]
-
Add additional context information about elasticsearch client requests {pull}1108[#1108]
-
Add
use_certifi
config option to allow users to disablecertifi
{pull}1163[#1163]
-
Fix for Starlette 0.15.0 error collection {pull}1174[#1174]
-
Fix for Starlette static files {pull}1137[#1137]
-
suppress the default_app_config attribute in Django 3.2+ {pull}1155[#1155]
-
bump log level for multiple set_client calls to WARNING {pull}1164[#1164]
-
fix issue with adding disttracing to SQS messages when dropping spans {pull}1170[#1170]
-
Added support for aioredis 1.x {pull}1082[#2526]
-
Added support for aiomysql {pull}1107[#1107]
-
Added Redis pub/sub instrumentation {pull}1129[#1129]
-
Added specific instrumentation for AWS SQS {pull}1123[#1123]
-
ensure metrics are flushed before agent shutdown {pull}1139[#1139]
-
added safeguard for exceptions in processors {pull}1138[#1138]
-
ensure sockets are closed which were opened for cloud environment detection {pull}1134[#1134]
-
added destination information to asyncpg instrumentation {pull}1115[#1115]
-
fixed issue with collecting request meta data with Django REST Framework {pull}1117[#1117]
-
fixed httpx instrumentation for newly released httpx 0.18.0 {pull}1118[#1118]
-
fixed issue with empty transaction name for the root route with Django {pull}1095[#1095]
-
fixed on-the-fly initialisation of Flask apps {pull}1099[#1099]
-
fixed a validation issue with the newly introduced instrumentation for S3, SNS and DynamoDB {pull}1090[#1090]
-
Add global access to Client singleton object at
elasticapm.get_client()
{pull}1043[#1043] -
Add
log_ecs_formatting
config option {pull}1058[#1058] {pull}1063[#1063] -
Add instrumentation for httplib2 {pull}1031[#1031]
-
Add better instrumentation for some AWS services (S3, SNS, DynamoDB) {pull}1054[#1054]
-
Added beta support for collecting metrics from prometheus_client {pull}1083[#1083]
-
Fix for potential
capture_body: error
hang in Starlette/FastAPI {pull}1038[#1038] -
Fix a rare error around processing stack frames {pull}1012[#1012]
-
Fix for Starlette/FastAPI to correctly capture request bodies as strings {pull}1042[#1041]
-
Fix transaction names for Starlette Mount routes {pull}1037[#1037]
-
Fix for elastic excepthook arguments {pull}1050[#1050]
-
Fix issue with remote configuration when resetting config values {pull}1068[#1068]
-
Use a label for the elasticapm Django app that is compatible with Django 3.2 validation {pull}1064[#1064]
-
Fix an issue with undefined routes in Starlette {pull}1076[#1076]
-
Python 2.7 and 3.5 support has been deprecated. The Python agent now requires Python 3.6+ {pull}1021[#1021]
-
No longer collecting body for
elasticsearch-py
update
anddelete_by_query
{pull}1013[#1013] -
Align
sanitize_field_names
config with the cross-agent spec. If you are using a non-defaultsanitize_field_names
, surrounding each of your entries with stars (e.g.secret
) will retain the old behavior. {pull}982[#982] -
Remove credit card sanitization for field values. This improves performance, and the security value of this check was dubious anyway. {pull}982[#982]
-
Remove HTTP querystring sanitization. This improves performance, and is meant to standardize behavior across the agents, as defined in elastic/apm#334. {pull}982[#982]
-
Remove
elasticapm.tag()
(deprecated since 5.0.0) {pull}1034[#1034]
-
Fix for GraphQL span spamming from scalar fields with required flag {pull}1015[#1015]
-
Fix for custom serializers in elasticsearch-py {pull}998[#998]
-
Fix large query truncation in psycopg2 {pull}994[#994]
-
Fix memory metrics reporting when
memory.usage_in_bytes
is unavailable {pull}987[#987] -
Fix for Starlette/FastAPI integration to properly obey
enabled
config {pull}1000[#1000]
-
Implement "sample_rate" property for transactions and spans, and propagate through tracestate {pull}891[#891]
-
Add support for callbacks on config changes {pull}912[#912]
-
Override
sys.excepthook
to catch all exceptions {pull}943[#943] -
Implement
log_level
config (supports central config) {pull}946[#946] -
Implement
transaction_ignore_urls
config (supports central config) {pull}923[#923] -
Add public API to retrieve trace parent header {pull}956[#956]
-
Added support for cgroup memory metrics {pull}846[#846]
-
Fix to collect the whole query body in
elasticsearch-py
{pull}940[#940] -
Fix for GraphQL transaction naming {pull}881[#881]
-
Ensure that query string max length is maintained after sanitization {pull}968[#968]
-
Adapted kubernetes kubepod regex for detecting kubernetes metadata {pull}958[#958]
-
Updated Starlette integration to use the route as transaction name if possible {pull}957[#957]
-
Fix validation of config to properly require
required
config items. {pull}927[#927]
-
Updated CLOUD_PROVIDER config to allow for new options defined in #289 {pull}878[#878]
-
Fixed a bug in AWS metadata collection on docker containers in AWS Elastic Beanstalk {pull}884[#884]
-
Fixed a bug in local variable serialization that could occur in multi-threaded applications {pull}885[#885]
-
Added graphql (graphene) support {pull}850[#850]
-
Collect cloud provider metadata {pull}826[#826]
-
Added
sanitize_field_names
config {pull}860[#860]
-
Fix header fetching for ASGI implementations {pull}856[#856]
-
capture number of affected rows for INSERT/UPDATE/DELETE SQL queries {pull}614[#614]
-
Added instrumentation for AsyncElasticsearch {pull}843[#843]
-
Added error handling around frame processing in Django {pull}837[#837]
-
Limit SQL queries in context data to 10000 characters {pull}842[#842]
-
Omit the "sync" property on spans by default {pull}854[#854]
-
Update the pid/ppid in transport metadata when they change {pull}825[#825]
-
Added better error handling around closing the transport {pull}838[#838]
-
Fixed an issue with the django admin command not detecting misconfigured server urls {pull}855[#855]
-
Added SERVICE_NODE_NAME config {pull}592[#592]
-
Added instrumentation support for
pymemcache
{pull}812[#812] -
Added new configuration options
enabled
andrecording
{pull}790[#790]
-
Fixed an issue with metrics collection raising RuntimeErrors {pull}802[#802]
-
Fixed an issue with getting extended destination data from pymongo {pull}797[#797]
-
Fixed an issue with Tornado instrumentation when Tornado isn’t the "main" framework {pull}813[#813]
-
Fixed an issue with streaming requests being consumed by the agent even if capture_body is disabled {pull}817[#817]
-
Python 2.7 suppot will be dropped in version 6.0 of the agent.
-
Fixed an issue with Redis using unix domain sockets and destination information {pull}766[#766]
-
Fixed Starlette middleware when capturing request body while the content-type header is absent {pull}763[#763]
-
Added destination information to database/HTTP spans, used for service maps {pull}618[#618]
-
Python 3.4 is no longer supported.
-
fixed a bug in our aiohttp.client support if used with a yarl URL {pull}733[#733]
-
fixed a bug in our celery implementation related to the threading refactor in 5.4.0 {pull}724[#724]
-
fixed an issue with a DEBUG log message raising an error in some cases {pull}722[#722]
This will be the last minor release to support the following versions:
-
Python 3.4
-
Django 1.8, 1.9 and 1.10
-
Flask < 1.0
In addition, as of this release we only supported capturing extended information on Elasticsearch queries when using keyword arguments with the elasticsearch-py API. This is in keeping with the upstream policy of positional arguments being unsupported. {pull}697[#697]
-
Refactored spawning of background threads {pull}636[#636]
-
Added support for aiohttp client and server {pull}659[#659]
-
Added support for tornado web framework {pull}661[#661]
-
Added support for starlette/fastapi {pull}694[#694]
-
Added support for W3C
traceparent
andtracestate
headers {pull}660[#660] -
Added Django 3.0 and Flask 1.1 to the support matrix {pull}667[#667]
-
Added support for aiopg {pull}668[#668]
-
Use Span ID as parent ID in errors if an error happens inside a span {pull}669[#669]
-
Added experimental support for API Key authentication {pull}679[#679]
-
introduced workaround to avoid instrumenting twice in rare cases {pull}708[#708]
-
Fixed an issue with OpenTracing bridge and dropped spans {pull}687[#687]
-
Fixed bug that would make the agent ignore the
hostname
configuration setting {pull}689[#689]
-
Added support for IPv6 address format when parsing urls {pull}649[#649]
-
Added support for shortening dicts in local variables {pull}638[#638]
-
Added instrumentation for mysql-connector and pymysql {pull}603[#603]
-
Implemented stack_trace_limit configuration option {pull}623[#623]
-
Autoinsert tracing middleware in django settings {pull}625[#625]
-
Fixed issue with transactions not being captured when errors occur in Flask {pull}635[#635]
-
Ensure that metrics with value 0 are not collected if they have the
reset_on_collect
flag set {pull}615[#615] -
Unwrap postgres cursor for newly introduced psycopg2 extensions {pull}621[#621]
-
Fix pod ID for kubernetes when using the systemd cgroup driver {pull}631[#631]
-
Fixed an issue where a
cpu_total
of0
could cause an exception {pull}610[#610], {pull}611[#611]
-
Fixed an issue with DroppedSpans and logging integration {pull}602[#602]
-
Fixed an issue with processors not being applied to chained exceptions {pull}604[#604]
-
Added automatic tagging of LogRecord objects with transaction, trace, and span IDs via a LogRecordFactory (Python 3.2+) {pull}520[#520], {pull}586[#586]
-
Added
logging
filter and record factory for adding transaction, trace, and span IDs {pull}520[#520], {pull}586[#586] -
Added
structlog
processor for adding transaction, trace, and span IDs {pull}520[#520], {pull}586[#586] -
Added new public API calls for getting transaction, trace, and span IDs {pull}520[#520], {pull}586[#586]
-
Added support for chained exceptions in Python 3 {pull}596[#596]. Note that chained exceptions will be captured and stored in Elasticsearch, but not yet visualized in the APM UI. The UI component will be released in an upcoming Kibana release (7.5 or later).
-
Added support for using
structlog
for agent logging {pull}591[#591]
-
Drop events immediately if a processor returns a falsy value {pull}585[#585]
-
Fixed an issue with http server_url and
'VERIFY_SERVER_CERT': False
{pull}570[#570], {pull}578[#578] -
Fixed instrumenting of psycopg2 when using their context manager interface {pull}577[#577], {pull}580[#580]
-
Fixed zerorpc tests {pull}581[#581]
-
Fixed to correctly check if gevent has patched threading.local {pull}579[#579]
-
Fixed an issue with empty responses from APM Server’s config endpoint {pull}562[#562], {pull}563[#563]
-
Fixed Windows tests by avoiding time.sleep in breakdown metrics tests {pull}537[#537], {pull}550[#550]
-
Fixed container ID matching to match CloudFoundry Garden container IDs {pull}523[#523], {pull}564[#564]
-
Fixed an issue in the urllib instrumentation if no port is set {pull}567[#567]
-
Added Python 3.8 RC to the test matrix {pull}565[#565]
-
This release fixes CVE-2019-7617
-
Added support for global labels which will be applied to every transaction/error/metric {pull}549[#549]
-
Added support for
NO_PROXY
environment variable {pull}458[#458], {pull}551[#551]
-
Fixed an issue with using callables in set_context with unsampled transactions {pull}541[#541], {pull}542[#542]
-
Limited the length of error.culprit to 1024 characters {pull}491[#491], {pull}543[#543]
-
Fixed an issue with the
instrument
config option {pull}546[#546], {pull}547[#547] -
Limited the amount of distinct metrics to 1000 {pull}540[#540], {pull}544[#544]
-
Implemented type/subtype/action hierachy for spans. Ensure that you run at least APM Server 6.6 {pull}377[#377]
-
renamed tags to labels and changed API. The old API remains for backwards compatibility until 6.0 of the agent {pull}538[#538]
-
Added support for recording breakdown metrics {pull}535[#535]
-
Added support for central config management {pull}511[#511]
-
Added instrumentation for
urllib2
(Python 2) /urllib.request
(Python 3) {pull}464[#464] -
Added
disable_metrics
setting {pull}399[#399] -
Updated elasticsearch instrumentation for 7.x {pull}482[#482], {pull}483[#483]
-
Fixed an issue with opentracing-python 2.1 {pull}471[#471]
-
Fixed an issue with certificate pinning {pull}497[#497]
-
Lowered log level of transport success messages {pull}527[#527], {pull}531[#531]
-
Fixed an issue with Celery and the prefork worker pool {pull}444[#444]
-
Fixed an issue when running uwsgi without a master process {pull}446[#446]
-
Fixed an issue with gevent/eventlet on Python 3.7 {pull}451[#451], {pull}454[#454]
-
Introduced
IntervalTimer
and use it instead ofthreading.Timer
{pull}452[#452] -
Added license header check as pre-commit hook {pull}456[#456]
-
Fixed an issue with the certificate pinning feature introduced in 4.2.0 {pull}433[#433], {pull}434[#434]
-
Fixed incompatibility with eventlet introduced in 4.2.0 {pull}435[#435], {pull}436[#436]
-
Implemented a new transport queue, which should avoid certain deadlock scenarios {pull}411[#411]
-
Implemented server certificate pinning {pull}405[#405]
-
Moved context.url to context.http.url for requests/urllib3 spans {pull}393[#393], {pull}394[#394]
-
Added support for using route as transaction name in Django 2.2+ {pull}86[#86], {pull}396[#396]
-
Added some randomness to time between requests to APM Server {pull}426[#426]
-
Fixed an issue with custom user models in Django using non-string usernames {pull}397[#397], {pull}398[#398]
-
Fixed an issue with sending kubernetes metadata to the API {pull}401[#401], {pull}402[#402]
-
Fixed an issue with parsing /proc/stat in RHEL/centos 6 {pull}406[#406], {pull}407[#407]
-
Added copyright header to all files, and a CI check {pull}429[#429]
-
Added support for collecting system and process metrics {pull}361[#361]
-
Added an OpenTracing bridge {pull}388[#388]
-
Added
transaction.sampled
to errors {pull}371[#371] -
Added
transaction.type
to errors {pull}391[#391] -
Added parsing of
/proc/self/cgroup
to capture container meta data {pull}352[#352] -
Added option to configure logging for Flask using a log level {pull}344[#344]
-
Added
capture_headers
config option {pull}392[#392]
-
Implemented de-dotting of tag names and context keys {pull}353[#353]
-
wrote a quickfix for the boto3/botocore instrumentation {pull}367[#367]
-
Fixed an issue with psycopg2 and encoded strings {pull}366[#366]
-
Fixed an issue with instrumenting redis-py 3.0+
-
Fixed a multithreading issue that occurs when using threaded workers {pull}335[#335]
BREAKING Version 4 of the agent implements a new wire protocol for communicating with the APM Server. This format is only supported in APM Server 6.5+.
Further breaking changes:
-
The undocumented
AsyncioHTTPTransport
has been removed. -
The
flush_interval
andmax_queue_size
settings have been removed. -
new settings introduced:
api_request_time
andapi_request_size
. -
Some settings now require a unit for duration or size. See documentation on configuration for more information.
-
The option to provide a custom date for exceptions and messages has been removed.
Other changes: * on Python 3.7, use contextvars instead of threadlocals for storing current transaction and span. This is a necessary precursor for full asyncio support. {pull}291[#291]
-
Fixed an issue with detecting names of wrapped functions that are partials {pull}294[#294]
-
Fixed a bug in Flask instrumentation that could appear together with FlaskAPI {pull}286[#286]
-
Added sanitization for
Set-Cookie
response headers {pull}264[#264] -
Added instrumentation for the non-standard
Connection.execute()
method for SQLite3 {pull}271[#271] -
Added "authorization" to list of sensitive keywords, to ensure that "Authorization" HTTP headers are properly sanitized {pull}275[#275]
-
Taught the Logbook handler how to handle the
stack=False
option {pull}278[#278] -
Fixed a race condition with managing the timer-send thread {pull}279[#279]
-
adapted "black" code formatter for this repository {pull}262[#262]
-
BREAKING: dropped support for Python 3.3 {pull}242[#242]
-
BREAKING: changed order of precedence when evaluating configuration {pull}255[#255], {pull}261[#261]
-
BREAKING: changed default value of
span_frames_min_duration
setting from-1
(always collect) to5
(only collect for spans longer than 5 ms) {pull}243[#243] -
added instrumentation for pymssql {pull}241[#241]
-
added instrumentation for pyodbc {pull}238[#238]
-
fixed an issue with Django Channels {pull}232[#232], {pull}233[#233]
-
introduced consistent logger name scheme for all elasticapm internal log messages {pull}212[#212]
-
added instrumentation of cassandra-driver {pull}205[#205]
-
added instrumentation of elasticsearch-py {pull}191[#191]
-
added Flask 1.0 to the test matrix {pull}207[#207]
-
fixed an issue with our minimalistic SQL parser and "fully qualified" table names {pull}206[#206]
-
fixed issue with spans in Django’s
StreamingHTTPResponse
not being captured {pull}201[#201], {pull}202[#202] -
fixed issue with spans with Flask’s streaming response not being captured {pull}201[#201], {pull}202[#202]
NOTE: This will be the last release with support for Python 3.3.
-
fixed bug in Django management command that would be triggered on Django 1.10 or 1.11 while using the
MIDDLEWARE_CLASSES
setting {pull}186[#186], {pull}187[#187] -
fix an encoding issue with log messages that are hit in rare cases {pull}188[#188], {pull}189[#189]
-
made skipping of initial
elasticapm
frames for span stack traces more generic {pull}167[#167] -
added
context.process.ppid
field (supported in apm-server 6.3+) {pull}168[#168] -
added option to disable stack frame collection for very short spans {pull}142[#142]
-
several bug fixes:
-
fix an issue in boto3 instrumentation with nonstandard endpoint URLs {pull}178[#178]
-
fix bug with OPTIONS requests and body capturing {pull}174[#174]
-
fix issue when message has
%
character, but no params {pull}175[#175]
-
fixed compatibility issue with aiohttp 3.0 {pull}157[#157]
-
Added truncation for fields that have a
maxLength
in the JSON Schema {pull}159[#159]
-
moved the library-frame detection from a processor to the stacktrace collection {pull}113[#113].
-
added settings to enable/disable source code collection and local variables collection for errors and transactions {pull}117[#117]
-
added
service.environment
to provide an environment name (e.g. "production", "staging") {pull}123[#123] -
added
transaction.id
to errors to better correlate errors with transactions {pull}122[#122] -
added
transaction_sample_rate
to define a rate with which transactions are sampled {pull}116[#116] -
added
error.handled
to indicate if an exception was handled or not {pull}124[#124]. -
added
transaction_max_spans
setting to limit the amount of spans that are recorded per transaction {pull}127[#127] -
added configuration options to limit captured local variables to a certain length {pull}130[#130]
-
added options for configuring the amount of context lines that are captured with each frame {pull}136[#136]
-
added support for tracing queries formatted as
psycopg2.sql.SQL
objects {pull}148[#148] -
switched to
time.perf_counter
as timing function on Python 3 {pull}138[#138] -
added option to disable capturing of request body {pull}151[#151]
-
BREAKING: Several settings and APIs have been renamed (#111, #119, #143):
-
The decorator for custom instrumentation,
elasticapm.trace
, is nowelasticapm.capture_span
-
The setting
traces_send_frequency
has been renamed toflush_interval
. The name of the analogous environment variable changed fromELASTIC_APM_TRACES_SEND_FREQ
toELASTIC_APM_FLUSH_INTERVAL
-
The
app_name
setting has been renamed toservice_name
. The name of the analogous environment variable changed fromELASTIC_APM_APP_NAME
toELASTIC_APM_SERVICE_NAME
. -
app_name
arguments to API calls in the whole code base changed toservice_name
. -
The
app_version
setting has been renamed toservice_version
. The name of the analogous environment variable changed fromELASTIC_APM_APP_VERSION
toELASTIC_APM_SERVICE_VERSION
. -
context.request.url.raw
has been renamed tocontext.request.url.full
{pull}121[#121] -
BREAKING: added
elasticapm.set_custom_context
in favor of the more genericset_custom_data
function {pull}133[#133] -
BREAKING:
include_patterns
andexclude_patterns
now use shell globs instead of regular expressions, and are matched against the full path file path of the module, not against the module name {pull}137[#137] -
BREAKING: renamed several configuration options to align better with other language agents {pull}145[#145]:
-
disable_instrumentation
becameinstrument
and inverted its meaning -
max_event_queue_length
becamemax_queue_size
-
timeout
becameserver_timeout
-
added
max-event-queue-length
setting. {pull}67[#67] -
changed name that the agent reports itself with to the APM server from
elasticapm-python
topython
. This aligns the Python agent with other languages. {pull}104[#104] -
changed Celery integration to store the task state (e.g.
SUCCESS
orFAILURE
) intransaction.result
{pull}100[#100] -
added setting to disable SSL certificate verification {pull}108[#108]
-
BREAKING: renamed
server
configuration variable toserver_url
to better align with other language agents {pull}105[#105] -
BREAKING: removed the old and unused urllib2-based HTTP transport, and renamed the urllib3 transport {pull}107[#107]
-
BREAKING: several API changes to
capture_exception
,capture_message
, and added documentation for these and other APIs {pull}112[#112]
-
added a background thread to process the transactions queue every 60 seconds (configurable) {pull}68[#68]
-
adapted trace context for SQL traces to new API {pull}77[#77]
-
ensured that transaction data is also passed through processors {pull}84[#84]
-
added
uninstrument
function to reverse instrumentation, and exposed bothinstrument
anduninstrument
as public API in theelasticapm
namespace {pull}90[#90] -
added normalization of HTTP status codes into classes for the
transaction.result
field. A HTTP status of200
will be turned intoHTTP 2xx
. The unchanged status code is still available incontext.response.status_code
. {pull}85[#85]
-
added request context information for Flask {pull}58[#58]
-
added response context information for Flask {pull}65[#65]
-
BREAKING: changed the
SERVERS
list setting to a singleSERVER
string setting. With this change, we now only support sending events to a single server {pull}59[#59] -
BREAKING: removed root trace. Due to historical reason, we used to create a "root trace" which was equivalent to the transaction. This is no longer necessary. #61
-
unified configuration across supported frameworks {pull}33[#33]
-
added in-app frame detection {pull}36[#36]
-
added tagging functionality {pull}28[#28]
-
preliminary support for Django 2.0 {pull}26[#26]
-
initial set of documentation