text:
Feature/remodel prometheus exporter

https://github.com/team-grass-farm/internal-documents/blob/feature/development-plan-backend/meeting-minutes/220720-meeting-be.md 에서 정의한 custom metric 적용, 각 자원에 대한 range 적용
https://github.com/team-grass-farm/uncloudy-prometheus-exporter/pull/5 이게 머지가 안되서 해당 #5 의 내용도 같이 들어가 있어요.

해당 브랜치 기준으로 feature/swagger 브랜치 만들어서 작업 할게요

@rrgks6221 Coflict 나는거 해결해주세요!

@100kimch Conflict 해결 했습니다.

#30 에서 정의한 메트릭 추가 및 사용하지 않는 metric 삭제 완료했습니다.
@100kimch @jnubugo @myungsangBaek
추가 metric

custom_node_cpu_spec

특정 node가 0.25 ~ 1.25 사이에 값을 고정되게 가지게 구성

custom_node_memory_sepc

모든 node가 17179869184(16GB)를 가지게 구성

custom_pod_cpu_spec

특정 pod가 0.25 ~ 1.25 사이에 값을 고정되게 가지게 구성

custom_pod_memory_spec

모든 pod가 2147483648(2GB)를 가지게 구성

삭제 metric

custom_node_cpu_total
custom_node_total_memory
custom_pod_total_memory


text:
🛑 PMS App - https://app.demo.greyfinch.com/ is down

In 3849a42, PMS App - https://app.demo.greyfinch.com/ (https://app.demo.greyfinch.com/) was down:

HTTP code: 503
Response time: 70 ms

Resolved: PMS App - https://app.demo.greyfinch.com/ is back up in 28b5fd4.

source: gharchive/issue

repo: teamgreyfinch/demo-status

license: MIT

license_type: permissive

license_source: github-api


text:
Hackney adapter does not handle {:error, :closed} returned by :hackeny.send_body/2

I am getting random {:error, :closed} from :hackeny.send_body/2 and Tesla.client crashes with following stack trace.
 {:EXIT, #PID<0.23655.28>, {{:badmatch, {:error, :closed}}, [{
Tesla.Adapter.Hackney, :"-request_stream/5-fun-0-", 3, [file: 'lib/tesla/adapter/hackney.ex', line: 74]},
{Enum, :"-reduce/3-anonymous-2-", 3, [file: 'lib/enum.ex', line: 3015]},
{Stream, :do_transform_each, 3, [file: 'lib/stream.ex', line: 966]},
{Stream, :do_resource, 5, [file: 'lib/stream.ex', line: 1394]},
{Stream, :do_enum_transform, 7, [file: 'lib/stream.ex', line: 936]},
{Enum, :reduce, 3, [file: 'lib/enum.ex', line: 3015]},
{Tesla.Adapter.Hackney, :request_stream, 5, [file: 'lib/tesla/adapter/hackney.ex', line: 74]},
{Tesla.Adapter.Hackney, :call, 2, [file: 'lib/tesla/adapter/hackney.ex', line: 31]}
]}}

** (MatchError) no match of right hand side value: {:error, :closed}
(tesla) lib/tesla/adapter/hackney.ex:74: anonymous fn/3 in Tesla.Adapter.Hackney.request_stream/5
(elixir) lib/enum.ex:3015: anonymous fn/3 in Enum.reduce/3
(tesla) lib/tesla/adapter/hackney.ex:31: Tesla.Adapter.Hackney.call/2
(elixir) lib/stream.ex:1394: Stream.do_resource/5
(tesla) lib/tesla/adapter/hackney.ex:74: anonymous fn/3 in Tesla.Adapter.Hackney.request_stream/5
(elixir) lib/stream.ex:936: Stream.do_enum_transform/7

I am trying to make a POST request using Tesla.post using Tesla.Multipart body.
Method: :post
URL: "server url"
Headers: [
{"authorization", "Bearer "},
{"content-type", "multipart/form-data; boundary=<end_string>; charset=utf-8"}
]
Opts: [recv_timeout: 1800000]
Multipart body:
Multipart.new
    |> Multipart.add_content_type_param("charset=utf-8")
    |> Multipart.add_field("field", <encoded_field_data>)
    |> Multipart.add_file(<path>,
         name: "filename",
         filename: Path.basename(<path>),
         headers: [{"content-type", "application/octet-stream"}]
       )

I have updated the correct debug stacktrace now.

Yep.

I have no idea how to make proper test for that, but I will soon give you a PR with a fix :)

authors: Dreat tbhavs teamon

repo: teamon/tesla

license: mit

license_source: bigquery


text:
Failed to build in go1.12

I build gorocksdb through the command go build, but it gives me the error
# github.com/gorocksdb
./backup.go:112:2: could not determine kind of name for C.rocksdb_backup_engine_create_new_backup_flush
FAIL	github.com/gorocksdb [build failed]

I'm new to this repo, and can't figure it out, Would you give some advice on that?
and my go env as follows
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GOPROXY="https://goproxy.cn"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-I/usr/local/rocksdb/include"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-L/usr/local/rocksdb/lib -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build013863011=/tmp/go-build -gno-record-gcc-switches"

By the way, I build the rocksdb5.17.2 through the command make shared_lib.

s

Hey Everyone, I am facing the same issue. Please help me in solving it. Its really important.

solve it.
How was this problem solved？

could you provide more details about how to solve it? thanks

repo: tecbot/gorocksdb


text:
ビックリマーク

ああああ

ふざけてるのでNG

source: gharchive/pull-request

repo: tech-is/KakeiboHUB


text:
Not working, 403 error

Zero luck using the service, on edge or firefox,

btw, great idea

Same here.

I does not seem to work with armujahid/nestjs-template (a project with 96 forks).
Response is 200 but empty:

Same error here but 3y later

authors: lackovic lucasfcnunes rzfzr tjx666

repo: techgaun/active-forks


text:
Add default portal target setting

Seems to be working. I need this change in order to use svelte-ux in a shadow DOM/web component

Decided on a different implementation.

repo: techniq/svelte-ux