-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implements APM Log Context Attributes (#758)
This PR adds the log context attribute feature for APM Log Forwarding. --------- Co-authored-by: bduranleau-nr <[email protected]> Co-authored-by: Amber Sistla <[email protected]> Co-authored-by: Michal Nowacki <[email protected]> Co-authored-by: Hitesh Ahuja <[email protected]>
- Loading branch information
1 parent
51759a5
commit 693e80c
Showing
82 changed files
with
7,959 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Copyright 2020 New Relic Corporation. All rights reserved. | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#ifndef LIB_MONOLOG_PRIVATE_HDR | ||
#define LIB_MONOLOG_PRIVATE_HDR | ||
|
||
/* | ||
* Purpose : ONLY for testing to verify that the appropriate behavior of | ||
* the conversion of zvals to attribute via nro. | ||
* | ||
* Returns : Pointer to nr_object_t representation of zval or | ||
* NULL if zval is not a supported type for conversion | ||
* to an attribute | ||
*/ | ||
extern nrobj_t* nr_monolog_context_data_zval_to_attribute_obj( | ||
const zval* z TSRMLS_DC); | ||
|
||
/* | ||
* Purpose : ONLY for testing to verify that the appropriate behavior of | ||
* the conversion of a Monolog context array to attributes. | ||
* | ||
* Returns : Caller takes ownership of attributes struct | ||
* | ||
*/ | ||
extern nr_attributes_t* nr_monolog_convert_context_data_to_attributes( | ||
zval* context_data TSRMLS_DC); | ||
#endif /* LIB_MONOLOG_PRIVATE_HDR */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.