Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COTECH-1256 PoC for Newrelic integration #241

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Conversation

nandy-andy
Copy link
Contributor

The easiest way to set custom attributes which we can use in NewRelic. We can test it live on the three test wikis and decide if the code should live somewhere else at the end.

Copy link

github-actions bot commented Jul 10, 2024

📊 Package size report   No changes

File Before After
Total (Includes all files) 12.0 kB 12.0 kB
Tarball size 4.6 kB 4.6 kB
Unchanged files
File Size
package.json 5.6 kB
README.md 6.4 kB

🤖 This report was automatically generated by pkg-size-action

scriptOptions: ScriptOptions,
) {
const [scriptInjected, setScriptInjected] = useState(false);

useEffect(() => {
beforeLoad();
typeof beforeLoad === 'function' ? beforeLoad() : null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally, I’d prefer an if statement here instead of the ternary operator 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants