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.

experiment.get_system_properties() doesn't return "hostname"

See original GitHub issue

I think there is some regression. For recent experiments experiment.get_properties() return either an empty dictionary or {'key1': 'value1', 'key2': '17', 'key3': 'other-value'} (whatever that is) in case of the sandbox project.

For older experiments, I still can get the properties.

This is probably a backend issue but there is no better place to put it.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
piterclcommented, Nov 28, 2019

@wjaskowski, that’s true, we don’t expose it. I think this should be an easy fix, since this value is present in the experiment entity returned from backend. We’ll do it soon. Thx!

1reaction
wjaskowskicommented, Nov 28, 2019

I know that is going on. Previously I was using sacred’s NeptuneObserver and properties such as hostname were filled in by sacred but now I use native neptune client and the dict is empty by default. My misunderstanding.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get the host name and port of current IS Server?
I do an experiment by creating a service called “getHostname” that called this ... getServerName() returns the host name of the server.
Read more >
Cannot get hostname from getHostName - java - Stack Overflow
So NameService.getHostByAddr() throws an UnknownHostException if the IP doesn't have a hostname, but InetAddress.getHostFromNameService() ...
Read more >
CGI.REMOTE_HOST does not return host name in ...
In ColdFusion 10, CGI.Remote_Host does not return host name when the connector is configured with an external web server.
Read more >
System Properties - Essential Java Classes
The getProperty method returns a string containing the value of the property. If the property does not exist, this version of getProperty returns...
Read more >
Steps for resolving the hostname - IBM
Determine why a hostname failed to resolve. ... If dig does not return all resource records, base your next course of action on...
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