Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
42dc067
AWS Fargate Agent, Option & Recorder
pglombardo Jul 7, 2020
b9baf51
Break Collector into platform parts
pglombardo Jul 7, 2020
c774825
Initial Fargate tests; AWSFargateAgent/Collector/Options
pglombardo Jul 7, 2020
e3d25bc
Fix Fargate Collector instantiation
pglombardo Jul 7, 2020
2dc8536
Include package file
pglombardo Jul 9, 2020
d603b63
Fargate snapshot collection for Task, Containers, Docker & Process
pglombardo Jul 10, 2020
ebfe5af
Centralized environment detection
Jul 20, 2020
34a70a4
Manual check to avoid circular dependency
Jul 20, 2020
31e4abf
Restore print_function
Jul 20, 2020
2629d54
Better background thread; docs & tests
Jul 23, 2020
1b1b246
Check existence before referencing
Jul 24, 2020
5525ca5
No unicode characters for py2
Jul 24, 2020
5810b6e
Rename method
Jul 24, 2020
976e8f3
Remove more unicode chars
Jul 24, 2020
349f625
Test: Show extra spans if any
Jul 24, 2020
5ee1f2c
Dump the full span
Jul 24, 2020
832c824
Remove debug
Jul 24, 2020
1c22e58
Move span dump into its own helper method
Jul 24, 2020
aa332a2
Add debug checks
Jul 24, 2020
9e18b74
Dont test log spans here
Jul 24, 2020
5f8cec0
better way to filter log spans
Jul 25, 2020
626115d
Fargate checks
Jul 27, 2020
deab44f
Temporarily disable lambda instrumentation
Jul 27, 2020
e13e0fe
Logger vs print
Jul 27, 2020
4b3dfa4
Fix egid + euid calcs
Jul 27, 2020
a05992a
Less debug and more safeties
Jul 27, 2020
be3a95e
No root path in root url
Jul 27, 2020
e5a67f6
Fix payload & add tests
Jul 27, 2020
b6220d4
Convert JSON responses
Jul 27, 2020
6475923
Remake headers each time for now
Jul 27, 2020
49935e7
Log detected environment
Jul 28, 2020
27123c8
Breakout data collection into helpers for simplicity
Jul 28, 2020
8833c0c
Set INSTANA_TEST for test runs
Jul 28, 2020
03e4222
Migrate Python metric collection to dedicated helper
Jul 28, 2020
8a8a068
Fix entityId
Jul 28, 2020
62f72fa
Cleanup Options; Add all supported env vars
Jul 28, 2020
cf206d8
Normalize and standardize on extra_http_header handling
Jul 28, 2020
9894c86
Uncommong lambda inst
Jul 28, 2020
f29b1b3
Same service_name handling regardless of environment
Jul 28, 2020
8a8b27d
Skip asynqp tests which are breaking in Python 3.8
Jul 28, 2020
8c4f870
Use a default agent if not specified
Jul 29, 2020
31214f9
Late import to avoid circular import
Jul 29, 2020
aaf9b08
Remove unecessary logging
Jul 29, 2020
0e565d6
Py27 compatibility
Jul 29, 2020
b4df611
Add support for INSTANA_ZONE
Jul 29, 2020
85c9b17
Global INSTANA_SECRETS support
Jul 30, 2020
8fc3464
Apply secrets check to procces env vars; cleanup
Jul 30, 2020
d260ef7
INSTANA_TAGS support; Helper stability improvements
Jul 30, 2020
b63a257
Fix test stragglers
Jul 30, 2020
fa4869c
Add support for INSTANA_ENDPOINT_PROXY
Jul 30, 2020
9456384
Endpoint proxy tests
Aug 5, 2020
7e28471
Reset proxy var in tests
Aug 5, 2020
fc78660
Add Lambda & Fargate boot messages
Aug 5, 2020
9f60d88
Version path for fargate
Aug 5, 2020
08e6955
Pylint fixes
Aug 5, 2020
5ee5057
Docker metrics support
Aug 9, 2020
3367e96
Refactor, normalization and all the other cool words
Aug 9, 2020
6fcdb59
PyLint told me to do it
Aug 9, 2020
42494dd
Refactor and respect snapshot reporting flag
Aug 9, 2020
b9f19cf
Subpackages not needed
Aug 9, 2020
b36918c
Linter fixes
Aug 9, 2020
7dd43f7
Update imports with new path
Aug 9, 2020
f627da9
Without snapshot flag, do nothing
Aug 9, 2020
a5bf189
Make sure file exists b4 trying to read it
Aug 10, 2020
434fc0b
Fix test class names
Aug 10, 2020
acc9646
Minor cleanup
Aug 10, 2020
4aab66d
Update python containers to latest
Aug 10, 2020
0ccb935
Update zone and tags handling
Aug 11, 2020
8599490
Package collection cleanup
Aug 11, 2020
0b93c6b
Add to_pretty_json helper
Aug 11, 2020
ee380fa
Debug helpers
Aug 11, 2020
85a8535
Round CPU floats and rootbeer floats too
Aug 11, 2020
44712fa
Fetch ECMU metadata only on interval
Aug 11, 2020
8f8eada
Lock cleanup
Aug 12, 2020
5bd1842
Better lock syncronization
Aug 12, 2020
8e8b84f
Fix lock check
Aug 12, 2020
bfd7087
Set lock acquire to blocking
Aug 12, 2020
95be155
Consider with_snapshot in delta reporting
Aug 12, 2020
b5de03c
Fix reporting of mandatory fields
Aug 13, 2020
7745a46
Fix data payload init
Aug 13, 2020
c1246c0
Simplify things and remove a thread
Aug 13, 2020
6f96883
Change test container image to make cassandra happy
Aug 13, 2020
fb3d109
Py27 tests use stretch
Aug 13, 2020
e0fdf81
Add Python 2.7 compatibility division
Aug 13, 2020
88cc2fc
pylint all the things
Aug 13, 2020
0e3100d
Updated hierarchy of Option classes; INSTANA_TIMEOUT in ms
Aug 14, 2020
0ab5bec
Improved log level handling & tests
Aug 14, 2020
c342558
Refactor Host agent metric collection
Aug 17, 2020
124dc13
Dot the Is
Aug 17, 2020
96e02f0
Remove debug
Aug 17, 2020
0d585f9
Docker blkio metrics are accumalative
Aug 17, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 21 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 2
jobs:
python27:
docker:
- image: circleci/python:2.7.15
- image: circleci/python:2.7.16-stretch
- image: circleci/postgres:9.6.5-alpine-ram
- image: circleci/mariadb:10.1-ram
- image: circleci/redis:5.0.4
Expand Down Expand Up @@ -35,13 +35,15 @@ jobs:
pip install -e '.[test]'
- run:
name: run tests
environment:
INSTANA_TEST: true
command: |
. venv/bin/activate
pytest -v

python38:
docker:
- image: circleci/python:3.7.7-stretch
- image: circleci/python:3.7.8-stretch
- image: circleci/postgres:9.6.5-alpine-ram
- image: circleci/mariadb:10-ram
- image: circleci/redis:5.0.4
Expand All @@ -67,13 +69,15 @@ jobs:
pip install -e '.[test]'
- run:
name: run tests
environment:
INSTANA_TEST: true
command: |
. venv/bin/activate
pytest -v

py27cassandra:
docker:
- image: circleci/python:2.7.15
- image: circleci/python:2.7.16-stretch
- image: circleci/cassandra:3.10
environment:
MAX_HEAP_SIZE: 2048m
Expand All @@ -94,13 +98,16 @@ jobs:
pip install -e '.[test-cassandra]'
- run:
name: run tests
environment:
INSTANA_TEST: true
CASSANDRA_TEST: true
command: |
. venv/bin/activate
CASSANDRA_TEST=1 pytest -v tests/clients/test_cassandra-driver.py
pytest -v tests/clients/test_cassandra-driver.py

py36cassandra:
docker:
- image: circleci/python:3.6.8
- image: circleci/python:3.6.11
- image: circleci/cassandra:3.10
environment:
MAX_HEAP_SIZE: 2048m
Expand All @@ -118,13 +125,16 @@ jobs:
pip install -e '.[test-cassandra]'
- run:
name: run tests
environment:
INSTANA_TEST: true
CASSANDRA_TEST: true
command: |
. venv/bin/activate
CASSANDRA_TEST=1 pytest -v tests/clients/test_cassandra-driver.py
pytest -v tests/clients/test_cassandra-driver.py

gevent38:
docker:
- image: circleci/python:3.8.2
- image: circleci/python:3.8.5
working_directory: ~/repo
steps:
- checkout
Expand All @@ -138,9 +148,12 @@ jobs:
pip install -e '.[test-gevent]'
- run:
name: run tests
environment:
INSTANA_TEST: true
GEVENT_TEST: true
command: |
. venv/bin/activate
GEVENT_TEST=1 pytest -v tests/frameworks/test_gevent.py
pytest -v tests/frameworks/test_gevent.py
workflows:
version: 2
build:
Expand Down
Loading