Comments (7)
also, when trying to get the latest version directly, I get:
$ go get github.com/ribbybibby/ssl_exporter@master
github.com/ribbybibby/ssl_exporter imports
github.com/ribbybibby/ssl_exporter/prober imports
k8s.io/client-go/kubernetes: cannot find module providing package k8s.io/client-go/kubernetes
github.com/ribbybibby/ssl_exporter imports
github.com/ribbybibby/ssl_exporter/prober imports
k8s.io/client-go/plugin/pkg/client/auth/oidc: cannot find module providing package k8s.io/client-go/plugin/pkg/client/auth/oidc
github.com/ribbybibby/ssl_exporter imports
github.com/ribbybibby/ssl_exporter/prober imports
k8s.io/client-go/tools/clientcmd: cannot find module providing package k8s.io/client-go/tools/clientcmd
go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead.
from ssl_exporter.
for additional context, I was able to import this package by forking this repo and regenerating the go.mod file. Granted, I'm a go noob these days, so take what I did with a grain of salt. It looks like it added packages that weren't there originally
from ssl_exporter.
Hi @jamesalbert. I think this is down to the fact that I bumped from v1 to v2 without amending the module path: https://go.dev/doc/modules/release-workflow. I must admit I was unaware of this requirement at the time.
That being said, this project is not intended to be imported by anyone, so I don't see it as a huge problem.
from ssl_exporter.
Nice @ribbybibby glad to hear that's the case. I was scratching my head at that for a bit 😄
I actually have an open pull request to include this project into grafana/agent: grafana/agent#1692
That PR is currently pointed to my fork and I was really hoping to point it back to yours once this was resolved. Would really like to use this exporter in our grafana stack.
from ssl_exporter.
@ribbybibby when I regenerated go.mod, I didn't notice any module path change, but whatever it did, it allowed me to pull the most recent version. If I rename all those module path references back to their original, would you accept this as a pr: master...jamesalbert:master
or maybe there's other stuff you wanted to add? I'm not sure
from ssl_exporter.
I've made the module path change and cut a new version. Can you try importing with:
require github.com/ribbybibby/ssl_exporter/v2 v2.4.1
This seems to work for me.
from ssl_exporter.
Thanks for updating that! There seems to be one more point of contention (at least integrating it into that project). I think it's here: https://github.com/ribbybibby/ssl_exporter/blob/master/go.mod#L14
k8s.io/[email protected] (different from the rest of the k8s.io dependencies at 0.24.0) seems to break version requirements. I'm getting a lot of
I noticed my fork brought it back down to 0.24.0 and is the version the target repo is pointed at. Is there any way we can pin it back down?
Oh, this may have been my fault actually. I just needed this:
replace (
k8s.io/api => k8s.io/api v0.24.0
k8s.io/apimachinery => k8s.io/apimachinery v0.24.0
k8s.io/client-go => k8s.io/client-go v0.24.0
)
It seems to be working now. You rock man, thanks writing this awesome exporter btw 😎
from ssl_exporter.
Related Issues (20)
- OCSP server check? HOT 3
- Container has runAsNonRoot and image has non-numeric user (ssl), cannot verify user is non-root HOT 1
- go-restful lib in 2.4.1 having CRTICAL vulnerability HOT 1
- Consider defaulting to no modules
- Request for `dry-run` feature
- Consider allowing setting up custom headers on the HTTPS module HOT 3
- Crypto Go :we are a research group to help developers build secure applications.
- X-Prometheus-Scrape-Timeout-Seconds and network latency
- ssl_exporter dont export timestamp to prometheus HOT 2
- How can I custom the resolve IP for tls certificate check ? HOT 2
- The Certificate is revoked, but exporter ssl_ocsp_response_status is Good
- What format is the serial number in? HOT 1
- OCSP status HOT 2
- How can I monitor an IPv6 domain name? HOT 1
- Is it possible to use this exporter to monitor PEM files within each pod? HOT 1
- Allow to use remote http\https resources in PEM file module HOT 3
- Monitor expiring bundle certificate HOT 1
- List of all secrets does not work in restricted cluster - SSL Exporter needs to scope secret listing to a single namespace where possible
- Separate regex validation failures from `ssl_probe_success` metric HOT 7
- Is this project still active HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ssl_exporter.