question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Track additional environment variables for Java tasks

See original GitHub issue

Note

Currently, there are a bunch of tasks that you javacommon to publish telemetry:

All these tasks use publishJavaTelemetry function from java-common.ts. I see two issues with this function:

  1. it is duplicate https://github.com/microsoft/azure-pipelines-tasks/blob/master/common-npm-packages/utility-common-v2/telemetry.ts#L13
  2. It doesn’t publish additional environment variables

I suggest to get rid of publishJavaTelemetry and switch all tasks to emitTelemetry

Required Information

Entering this information will route you directly to the right team and expedite traction.

Question, Bug, or Feature?
Type: Feature

Environment

Azure Pipelines

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
anatolybolshakovcommented, Jan 31, 2022

Hi @maxim-lobanov 😃 Sorry for the delay - we are working on more prioritized tickets at the moment, but will get back to this one once be able to.

0reactions
github-actions[bot]commented, Jul 30, 2022

This issue is stale because it has been open for 180 days with no activity. Remove the stale label or comment on the issue otherwise this will be closed in 5 days

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with Environment Variables in Java - Twilio
How to access environment variables in Java ... One of the most common ways is to use System.getenv(), which accepts an optional String...
Read more >
Environment Variables - The Java™ Tutorials
This Java tutorial describes exceptions, basic input/output, concurrency, regular expressions, and the platform environment.
Read more >
Setting Java variables in Windows - IBM
Right-click the Computer icon on your desktop and select Properties. · Click Advanced system settings. · Click Environment variables. · Under User variables,...
Read more >
Java: Get the value of the environment variable - w3resource
Java programming exercises and solution: Write a Java program to get the value of the environment variable PATH, TEMP, USERNAME.
Read more >
How to set the environment variables for Java in Windows
In Windows 7, right-click on Computer -> Properties -> Advanced system settings; then in the Advanced tab, click Environment Variables... -> System variables...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found