Sleuth's trace ID in Logbook logs, on reactor netty - howto? - project-reactor

Some time ago, I was looking for a solution to propagate sleuth's trace IDs in zalando's logbook logs and found a solution - #1690, that works.
However, mentioned ReactorNettyHttpTracing is now deprecated, and I could not figure out how to inject suggested Micrometer Tracing.
Is it really "proper" approach, still in SpringBoot 2.7.x with spring-cloud-sleuth 3.1.x, to use Micrometer Tracing?
If yes, could someone help me out with such integration / pointing to potential docs or examples?
(note: adding SO question, as suggested in https://github.com/reactor/reactor-netty new issue template)

This issue addresses same topic.

Related

how to spawn a new Isolate in dart?

Is something going on wth Dart isolates at present? looking at a few past stackoverflow questions most people looked to be using spawnIsolate or spawnFunction to start a new isolate running, but those methods don't appear to exist any more, nor is there an obvious replacement for them in the current isolate library. Also when following links people have put in previous stackoverflow questions about isolates they seem to have been removed from the official documentation such as. How do you start up an isolate?
I wrote a small example on how to spawn isolates at http://www.roberthartung.de/spawning-isolates-in-dart/ . Does this help you?
At the bottom of the page you linked is this link dart:isolate library
I think this isolates are still work in progress.
I think some interesting details can be found in the discussions in the Google group Dart Misc or Dart Web Development and in the issues at dartbug.com
Where do you want to spawn isolates anyway, server or client?

JIRA - "Done" issues marked as "Unresolved"

I'm a bit of a novice using JIRA and I don't know why this is happening. Lately, whenever I mark an issue as "Done", the system won't update as it being "Closed" but rather keep them as "Unresolved". Why would this happen? I don't know what information I must provide to solve this issue, except that I'm using JIRA 6.1.3, self-hosted, and no extra plugins.
That issue is neither fully resolved nor necessarily related, but you might want to check into Fix apparent data integrity violation with closed issues not actually being closed (JRA-34222), in particular Andreas Knecht's comment, summarizing potential race conditions during workflow changes:
Yeah so bulk editing while doing workflow changes definitely has the potential to cause this sort of a problem. JIRA doesn't really lock down a project while doing workflow migrations AFAIK so this kind of thing can always happen if concurrent operations are happening during a migration.
It's a complicated problem with an even more complicated solution. For some reading on an analysis we did ages ago see [not accessible link to 'Concurrency+Problems+in+JIRA']. Also [not accessible link to 'Concurrency+bug']. It's a known problem, but the solution has huge performance implications for JIRA and will take considerable effort to implement and test.
The last comment from a Cisco employee seems to confirm Andreas' summary that this might be a generally applicable issue with JIRA for the time being:
JIRA 5.2.8 we have been having an issue like this for months. I can
not view it, but see also: JSP-161469
Recent investigation has correlated "Tried to reopen the IndexReader,
but it threw AlreadyClosedException." message as closely following the
execution of Jython scripts. [...]
Possible Remedy/Workaround
While not addressing the root cause, you an see from the screenshot attached by Michael Knight that Atlassian seems to have been able to fix the integrity issue at hand by Using the Database Integrity Checker:
This aptly named JIRA feature is useful in a number of situations, e.g.
Before migrating a project to a new workflow [emphasis mine]
An external program is modifying JIRA's database
Troubleshooting a server crash
Using such a tool is obviously not without risks itself, so please note that Atlassian strongly recommend[s] taking a backup of your data before correcting any data inconsistencies accordingly
Good luck!
Here is a very good confluence answer that explains why this happens and a few workarounds Confluence Answer to Done issues as Unresolved

Configure Masstransit 2.0.0.5 with Ninject 2.0

Probably being dumb here.. but its getting late :)
I am trying to use MassTransit with Ninject. I know there isnt as much love for Ninject with MT but I want to continue regardless.. and maybe help out evntualy.
Examples I have found so far appear to require that base class MassTransitModuleBase is used from MassTransit.NinjectIntegration;
However in 2.0.0.5 this doesnt appear - has this changed? Any recommendations?
They likely are still old, pre-2.0 examples. 2.0 of MT has been updated to take containers out of the core. In fact, with 2.0 you can use it without a container to get you up and started.
The Cashier part of one of the samples, https://github.com/MassTransit/MassTransit/tree/master/src/Samples/Starbucks/Starbucks.Cashier, uses NInject. Ideally this can get you moving forward a little bit more. If not, feel free to post on the mailing list https://groups.google.com/forum/#!forum/masstransit-discuss.

is spring.net being actively maintained/developed/documented?

In the course of evaluating .net IoC frameworks, I gave spring.net a try first, seeing as how much I liked spring in java. However, I'm rapidly getting the feeling that it is a stale/stalled/dead project. The forums have almost no activity; the documentation, though verbose, is infuriating with its self-referencing, poor examples, and incomplete sections; spring.net questions don't seem to get much traction on stackoverflow; and googling for spring.net issues usually leads to pages documenting somewhat obscure scenarios. I'm close to making the jump to Ninja or Castle, but I can see that their documentation doesn't exactly sparkle either. Still, if everyone has poor documentation, I'd rather pick an active project. What are your suggestions?
Spring.NET is pretty active.
Take a look to their bug tracking system :
https://jira.springsource.org/browse/SPRNET
They have 2 full-time committers working on it.
Spring is pretty active, as pointed out by Paul. Their IoC container is excellent, in my opinion. As I write this, they're actively working on a code-config project at github .

Does anyone know of any cross platform GUI log viewers for Ruby On Rails?

I'm tired of using:
tail -f development.log
To keep track of my rails logs. Instead I would like something that displays the info in a grid and allows my to sort, filter and look at stack traces per log message.
Does anyone know of a GUI tool for displaying rails logs. Ideally I would like a standalone app (not something in Netbeans or Eclipse)
Splunk, there is a Free version that is limited to 500mb but has all the same functionality as the full version.
FWIW I started this project at GitHub to try and solve this problem, its far from functional.
You might be able to use http://logging.apache.org/chainsaw/index.html . Haven't used it in a long time but I think its log parser should be configurable
I like using the Exception Logger plugin for live sites. I can visit http://domain.com/logged_exceptions, and read all of the unhandled exceptions that have been throw in production, along with full stack traces. From there, it's pretty easy to write tests to find and correct the problem. There's a whole railscast on the topic here.
I asked the same question a few days ago and got suggestions for Splunk, BareTail, and tail [been using Chainsaw until now].
Chainsaw didn't work so well for me. It was buggy and non-responsive. So I looked into Splunk which turned out to be a big overkill for just viewing logs. Tail seemed a bit too primitive for my taste. So if you're on Windows, I'd say BareTail is your best bet.
HTH

Resources