Tatsuya Sato
fde6ee2a85
Fix autload path name
2019-02-10 10:50:34 +09:00
Sergey Kanzhelev
29509a4c73
Merge pull request #66 from satoryu/fix_test_fails_in_travis
...
Fix test fails in travis
2019-01-04 10:29:34 -08:00
Tatsuya Sato
dba3bf719e
Use old here document style
2019-01-04 22:56:28 +09:00
Tatsuya Sato
ffd56c3bf0
Correct classname autoloaded
2019-01-04 16:23:13 +09:00
Sergey Kanzhelev
878d716b73
Merge pull request #64 from satoryu/track_page_view
...
Rack Middleware for Tracking Page Views
2019-01-03 16:35:17 -08:00
Tatsuya Sato
a7a12d6ac5
Rename the middleware.
...
Refer to the following comment:
https://github.com/Microsoft/ApplicationInsights-Ruby/pull/64#discussion_r244918319
2019-01-03 16:40:04 +09:00
Tatsuya Sato
b2ce685c1c
Add test code for the new rack middleware
2019-01-03 10:40:01 +09:00
Tatsuya Sato
6ea7e4a76a
Embeds javascript into the head to track page view with app insights
2018-12-25 21:19:35 +09:00
yantang
29671ff3c9
Fix couple test cases
2018-05-02 14:19:10 -07:00
yantang
2c8216a43d
Update schema with latest schema generator that has couple fixes
2018-05-02 11:15:10 -07:00
Sergey Kanzhelev
de92ca6972
Use schema generator to update the schema to the latest
2018-05-02 11:09:00 -07:00
Sergey Kanzhelev
fb33172336
post release updates
2018-05-02 02:17:11 -07:00
Matt Rayner
b19d6c60a0
Implement @yantang-msft's comments
2018-05-01 22:57:41 +01:00
Matt Rayner
5698606822
Update ApplicationInsights::Rack::TrackRequest to write directly to a channel
2018-05-01 17:56:21 +01:00
Matt Rayner
44747e8d32
(WIP) Improve implementation and add logging
2018-04-30 23:13:52 +01:00
Matt Rayner
fc10405f9f
Update `ApplicationInsights::Rack::TrackRequest` to create a fresh client each request
2018-04-28 22:02:24 +01:00
Matt Rayner
02778374c1
Implement operation context values for track_request
2018-04-28 00:09:03 +01:00
Matt Rayner
216dc567a7
Updated implementation to generate variable length IDs
...
* When generating new IDs, 16 characters of data are used
* When appending an ID, 8 characters of data is used
2018-04-27 22:54:08 +01:00
Matt Rayner
267a197c63
Add functionality to fetch and parse a Request-Id header
2018-04-27 01:21:31 +01:00
Matt Rayner
8d2a358b48
[ #48 ] Expose request id within parent app when using middleware
...
* Update TravisCI testing matrix
* Update CHANGELOG
* Update README
* Update `ApplicationInsights::Rack::TrackRequest#call` to implement the above
* Add associated tests
2018-04-26 23:49:19 +01:00
Sergey Kanzhelev
780d33ec1f
Release updates ( #51 )
...
* post release updates
* post release updates
* spelling
2018-04-26 15:37:53 -07:00
Yanming Tang
695c1af34d
Log failed request and expose timestamp as an optional parameter ( #49 )
...
* Add basic logging when failed to send telemetry
* Log error when async sender thread terminated abnormally
* Lower log level to warning if failed to send request to the server
* Add timestamp to the options of the track methods, which helps in the cases of high precision or delayed tracking calls.
* Add test cases for custom timestamp in track methods
* Add test logger for unit tests
* Expose timestamp as an optional parameter only at telemetry channel but not at the track methods
* Update Changelog.md
* Make the optional timestamp parameter either of String type or Time type.
2018-04-26 07:05:18 -07:00
Sergey Kanzhelev
bac544d157
bumped version to 0.5.5
2018-04-24 10:12:28 -07:00
yantang
03142241ee
Update telemetry context data contract to match current schema
2018-04-02 14:04:13 -07:00
Tatsuya Sato
20b4a64129
Bump up version to 0.5.4
2017-08-02 21:12:59 +09:00
Aaron Patterson
a60f44793b
When a failed request is sent, the "success" field is set to "false" and this causes the field is omitted from the JSON. The backed does not accept the message because the "success" field is missing though.
...
Updating to include fields in the JSON even when they are false.
2017-07-05 16:12:10 +02:00
Aaron Patterson
1aa2f4f3e0
Merge remote-tracking branch 'upstream/develop' into fix-track-request
2017-07-03 13:41:07 +02:00
Aaron
c78bb54c8b
Merge branch 'develop' into master
2017-07-03 04:35:06 -07:00
Aaron Patterson
b19de3f4ee
AI reports an error when sending requests currently. The "duration" field is not in the expected format. AI expects "dd.hh:mm:ss.fffffff" and the SDK is sending "d:hh:mm:ss.fffffff".
...
Also updating to use "true" instead of "TRUE" as the "TRUE" constant was deprecated in Ruby 2.4
2017-06-29 12:43:28 -07:00
Chris Green
8371b30dc5
Duration TimeSpan formatting did not match what the API expects. Modified to match.
2016-06-24 15:04:10 -04:00
Yoonji Shin
c58e5e1e19
add user auth id
2015-12-04 15:16:24 -08:00
Jing Li
0f03754453
Fix boolean variable initialization
2015-04-02 17:12:35 -07:00
Jing Li
dff392fe94
Re-generate contract classes
2015-04-02 16:47:05 -07:00
eMancu
2a69711d51
Align documentation to ~80 chars and code style changes
2015-04-01 21:13:06 -03:00
eMancu
628b12cbab
Align documentation to ~80 chars and some small style
...
changes for telemetry client
2015-04-01 21:12:56 -03:00
eMancu
f0321d22bb
Remove trailing spaces
2015-04-01 21:12:26 -03:00
Jing Li
4c97cc77ec
Close http connection
2015-03-18 11:09:39 -07:00
eMancu
fd6468cf68
Reorder fields of each schema
2015-03-09 09:26:08 -03:00
eMancu
0e514f6df2
Merge remote-tracking branch 'upstream/master' into refactor/contracts
2015-03-05 00:52:51 -03:00
Jing Li
77f50fd392
Increase gem version to 0.5.3
2015-03-04 17:19:30 -08:00
Jing Li
43416c9eb5
Update contracts based on latest schema
2015-03-04 16:08:39 -08:00
eMancu
5db8c63a3f
Merge remote-tracking branch 'upstream/master' into refactor/contracts
2015-03-04 14:52:50 -03:00
eMancu
72c4d4c82f
Update implementation syntax.
...
Given the feedback on the PR, we choose to change the implementation to a new syntax.
2015-03-04 14:37:00 -03:00
eMancu
4be68c5045
Define only snake case accessors
2015-03-02 22:21:34 -03:00
eMancu
352af92156
Remove empty tags
2015-02-27 03:07:33 -03:00
eMancu
a157746447
Refactor Contracts objects.
...
Decrease the lines of code and use the methods implemented
on JsonSerializable module.
2015-02-27 03:07:17 -03:00
eMancu
e963d9ddac
Redefine JsonSerializable class as a module.
...
Contract objects shouldn’t inherit from a JsonSerializable class.
This kind of classes are more like modules to add functionality
and leave the hierarchy for more complex Contract objects.
2015-02-27 03:03:00 -03:00
Jing Li
56d5791d72
increase gem version to 0.5.2
2015-02-26 17:40:05 -08:00
Jing Li
88a49aba29
Fix sdk version;
...
Drop failed messages;
2015-02-26 17:38:28 -08:00
Jing Li
dc635355eb
Increase gem version to 0.5.1
2015-02-11 09:06:08 -08:00