Commit f383173
AWS Fargate Support (#244)
* AWS Fargate Agent, Option & Recorder
* Break Collector into platform parts
* Initial Fargate tests; AWSFargateAgent/Collector/Options
* Fix Fargate Collector instantiation
* Include package file
* Fargate snapshot collection for Task, Containers, Docker & Process
* Centralized environment detection
* Manual check to avoid circular dependency
* Restore print_function
* Better background thread; docs & tests
* Check existence before referencing
* No unicode characters for py2
* Rename method
* Remove more unicode chars
* Test: Show extra spans if any
* Dump the full span
* Remove debug
* Move span dump into its own helper method
* Add debug checks
* Dont test log spans here
* better way to filter log spans
* Fargate checks
* Temporarily disable lambda instrumentation
* Logger vs print
* Fix egid + euid calcs
* Less debug and more safeties
* No root path in root url
* Fix payload & add tests
* Convert JSON responses
* Remake headers each time for now
* Log detected environment
* Breakout data collection into helpers for simplicity
* Set INSTANA_TEST for test runs
* Migrate Python metric collection to dedicated helper
* Fix entityId
* Cleanup Options; Add all supported env vars
* Normalize and standardize on extra_http_header handling
* Uncommong lambda inst
* Same service_name handling regardless of environment
* Skip asynqp tests which are breaking in Python 3.8
* Use a default agent if not specified
* Late import to avoid circular import
* Remove unecessary logging
* Py27 compatibility
* Add support for INSTANA_ZONE
* Global INSTANA_SECRETS support
* Apply secrets check to procces env vars; cleanup
* INSTANA_TAGS support; Helper stability improvements
* Fix test stragglers
* Add support for INSTANA_ENDPOINT_PROXY
* Endpoint proxy tests
* Reset proxy var in tests
* Add Lambda & Fargate boot messages
* Version path for fargate
* Pylint fixes
* Docker metrics support
* Refactor, normalization and all the other cool words
* PyLint told me to do it
* Refactor and respect snapshot reporting flag
* Subpackages not needed
* Linter fixes
* Update imports with new path
* Without snapshot flag, do nothing
* Make sure file exists b4 trying to read it
* Fix test class names
* Minor cleanup
* Update python containers to latest
* Update zone and tags handling
* Package collection cleanup
* Add to_pretty_json helper
* Debug helpers
* Round CPU floats and rootbeer floats too
* Fetch ECMU metadata only on interval
* Lock cleanup
* Better lock syncronization
* Fix lock check
* Set lock acquire to blocking
* Consider with_snapshot in delta reporting
* Fix reporting of mandatory fields
* Fix data payload init
* Simplify things and remove a thread
* Change test container image to make cassandra happy
* Py27 tests use stretch
* Add Python 2.7 compatibility division
* pylint all the things
* Updated hierarchy of Option classes; INSTANA_TIMEOUT in ms
* Improved log level handling & tests
* Refactor Host agent metric collection
* Dot the Is
* Remove debug
* Docker blkio metrics are accumalative
Co-authored-by: Peter Giacomo Lombardo <[email protected]>1 parent 1cc7705 commit f383173
File tree
71 files changed
+3676
-941
lines changed- .circleci
- instana
- agent
- collector
- helpers
- fargate
- instrumentation
- aiohttp
- aws
- django
- flask
- pyramid
- tornado
- tests
- clients
- data/fargate/1.3.0
- frameworks
- platforms
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
71 files changed
+3676
-941
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| 72 | + | |
| 73 | + | |
70 | 74 | | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
76 | | - | |
| 80 | + | |
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
| |||
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
97 | 104 | | |
98 | 105 | | |
99 | | - | |
| 106 | + | |
100 | 107 | | |
101 | 108 | | |
102 | 109 | | |
103 | | - | |
| 110 | + | |
104 | 111 | | |
105 | 112 | | |
106 | 113 | | |
| |||
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
121 | 131 | | |
122 | 132 | | |
123 | | - | |
| 133 | + | |
124 | 134 | | |
125 | 135 | | |
126 | 136 | | |
127 | | - | |
| 137 | + | |
128 | 138 | | |
129 | 139 | | |
130 | 140 | | |
| |||
138 | 148 | | |
139 | 149 | | |
140 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
141 | 154 | | |
142 | 155 | | |
143 | | - | |
| 156 | + | |
144 | 157 | | |
145 | 158 | | |
146 | 159 | | |
| |||
0 commit comments