Upgrading postgres_exporter service - prometheus-postgres-exporter

I am trying to upgrade postgres_exporter from its current version 0.8 to 0.10. It is worth to note that the postgres_exporter is running inside a Docker container. I couldn't find any guide that would take me through the process of such upgrade. I would highly appreciate it if someone could help. Thank you!

Related

Long time in installing azureml-sdk[databricks] on DataBricke

I am trying to install "azureml-sdk[databricks]" on my cluster in DataBricks using PyPi. But it is taking very long time and the status is always "Pending". I have waited around 2-3 hours but this package is still not installed.
Some other packages I can install easily using the same procedure. As you can see in the picture.
Could anybody tell me that what could be the problem ?
Thanks !!!
Yes, you are correct, it seems like a bug. I tried to reproduce the same in my environment it took a very long time.
You can reach out to Azure Support or Can raise a GitHub Issue.
Or
You can follow below alternative approach. I successfully installed azureml-sdk[databricks] using the 10.5 ML Version.
Azure Databricks Runtime Version: 10.5 ML (includes Apache Spark
3.2.1, Scala 2.12)

Upgrading Rundeck from 3.0.27 to 3.4.7

We are trying to upgrade Rundeck version from 3.0.27 to the latest version (3.4.7)
We got below questions,
What is the approach to upgrade from 3.0.xxxx to 3.4.7? Could we do a direct upgrade or otherwise, if we have to run through multiple intermediary versions, what are those?
Does upgrading from 3.0.xxx to 3.4.7 fix the log4j vulnerability?
Please help to clarify above.
Thanks
Due to the big gap between 3.0.X and 3.4.X (and the upcoming 4.0.X) the best way to upgrade your instance is to create a fresh 3.4/4.0 instance and then import your projects and keys (exported previously), as a tip, try this on a non-prod environment first.
Rundeck 3.0.x uses log4j 1, so, even if the vulnerability doesn't affect explicitly the log4j 1.x EOL was in 2015 and isn't supported anymore, so, it's important to move to the latest version (Rundeck 3.4.10 at this moment).

PubNub issue in node 12

Has anyone tried running pubnub sdk in node 12.x?
On their docs, found that it supports till node 8. Link - https://www.pubnub.com/docs/web-javascript/supported-platforms
Does anyone have any updates whether they are going to add support for 12 soon or any possible workaround?
PubNub Node Versions Support
Thanks for bringing this to our attention. We are building in travis on node 12 with success, we just need to update the supported versions. We will likely update it when when do a new release (4.27.2) today.

Jupiter Notebook not connecting to Kernel

I am working with Jupyter notebook for some studying. I just updated all my python libraries and now when I start a new python notebook, it just continuously says connecting to kernel in yellow.
Do I have to change something using my terminal to tell my mac to use the localhost? I have been trying to initiate an EC2 instance for another project, which I put on hold until I can figure out why that is not working, but now I can't connect locally anymore.
Sorry, I am so vague in my explanation but it is literally my first time trying to remote connect and now I think I might have messed up the paths or something.
I am reading something about websockets on git?
Any and all help is greatly appreciated!
I ended up uninstalling and reinstalling anaconda. This seems to have fixed it.
I fixed it by downgrade tornado to 5.1.1 version.
Apparently, the 6.0 version has some issues.
Reference
https://github.com/jupyter/notebook/issues/4399

Using celery in python 3.3 on windows machine

Currently i'm working on a project where I need to use Python 3.3 and celery.
I've been following the first steps tutorial, but i keep getting errors due to problems with librarys like _subprocess. Does annyone have some more information on this.
I also tried replacing the _subprocess with _winapi, with more errors as result. I'm open for anny suggestions. anny help on the mather would be appriciated.
ps:
I'm working on a windows machine.
I'm using RabbitMq as broker
celery doesn't yet work perfectly with python3.3 on windows it seems.
I ran the exact same setup on linux fedora and got it to work.
This problem should be fixed in future development of the package so be patient.

Resources