Re: [abacus] Accepting delayed usage within a slack window
Jean-Sebastien Delfino
Hi Ben,
toggle quoted messageShow quoted text
I'm adding a 'processed' time field to the usage docs, hoping that'll help maintain the history of usage within the slack window we've been discussing here (more precisely that will help you know how much of that history can roll out of the configured slack window when you process a new usage doc). That field will also allow us to more clearly distinguish between the usage event 'start', 'stop' and 'processed' times. HTH - Jean-Sebastien
On Mon, Oct 12, 2015 at 9:04 AM, Jean-Sebastien Delfino <jsdelfino(a)gmail.com
wrote: Hi Ben,
|
|
Re: Multi-Line Loggregator events and the new Splunk "HTTP Event Collector" API
Mike Youngstrom <youngm@...>
Great! Thanks Jim. Sounds completely reasonable. Hopefully we can keep
toggle quoted messageShow quoted text
this thread moving and help derive some future designs out of it. Would you prefer to keep this discussion on the mailling list or a github issue? Mike
On Thu, Oct 15, 2015 at 12:26 PM, Jim Campbell <jcampbell(a)pivotal.io> wrote:
New Loggregator PM chiming in.
|
|
Re: Loggregator Community Survey #1 - still use the old metron 51160 endpoint?
Mike Youngstrom <youngm@...>
We are using it. Though we plan to fix this. If we could get a general
toggle quoted messageShow quoted text
timeline for what release you plan to remove it in then we can plan to remove it from our code by then. Mike
On Fri, Sep 18, 2015 at 6:19 PM, Rohit Kumar <rokumar(a)pivotal.io> wrote:
Quick correction: the default legacy metron port is 3456 [1]. The legacy
|
|
Cloud Foundry Java Client V2
Ben Hale <bhale@...>
As many of you are aware, the Cloud Foundry Java Client has been a bit neglected lately. There are various reasons for this, but today I’m pleased to announce that we’ve begun a V2 effort and that progress is swift.
We on the Cloud Foundry Java Experience team have been aware for some time that the current implementation of the Java Client is less than ideal. Among the most common complaints were the lack of separation between interface and implementation, the subpar network performance, and the requirement that users understand how to orchestrate common concepts like `push` on their own. (For a more in-depth treatment of issues we identified, please see the stellar work done by Scott Fredrick[1].) V2 aims to address all of these issues with a ground-up redesign of the client. To address the issue of a lack of separation between interface and implementation, we’ve broken out the API into a project containing no implementation. This project (`cloudfoundry-client`) consists of a collection of interfaces and immutable datatypes. There is only a single dependency, and it isn’t Spring! The intent here was to create an API that could be implemented with multiple strategies, but requiring the minimal amount of code for each of those implementations. The API itself is now reactive (the single dependency is on Reactive Streams, the precursor to reactive support in Java 9) which we believe will more closely align with the trends towards non-blocking network communication. We will be providing a single implementation of this API, based on Spring (`cloudfoundry-client-spring`) but welcome additional implementations. We believe we’ve created a good environment for alternatives and would be happy to hear suggestions on how to improve if that turns out not to be the case. In V1, the coverage of the APIs[2] was incomplete (about half, if I had to guess). Our commitment is to deliver a complete API and implementation in V2, including all 300+ documented APIs. We’ve observed that this API might not actually be the right level of abstraction for many users though. Knowing that you need to create an application, create a package, stage a droplet, create and start a process, etc. for `push` is quite a burden on many users of the project. So, we’re also providing a `cloudfoundry-operations` project that builds on the `cloudfoundry-client` API but instead of mapping onto the low-level REST API, we’re going to map roughly onto the `cf` CLI API. We suspect that nearly all users will want to `cloudFoundryOperations.push()` instead of the low-level alternative, so both choices are useful. This API and implementation will only depend on `cloudfoundry-client` allowing any implementation of that API to be used. Finally, we’ll be bringing the build-system plugins up to date with the systems that they are built for and ensuring that they cover a breadth of useful functionality at build time. This leaves the question about what will happen to V1. We have a commitment to fixing up the bugs that have been identified in the code-base, but we’re not going to be doing any work that involves adding APIs. We feel that users who need those APIs are better served moving to V2. I’ll be feeding open issues from the backlog into the V2 stream of work to ensure that we aren’t seeing any resource starvation and you can expect future releases out of the `1.x` branch. I hope that this comes as welcome news to the community and look forward to the feedback. I highly encourage users to keep an eye Pivotal Tracker[3] to see our progress and submit requests through GitHub[4]. -Ben Hale Cloud Foundry Java Experience [1]: https://docs.google.com/document/d/1Ui-67dBPYoADltErL80xXYEr_INPqdNJG9Va4gPBM-I/edit?usp=sharing [2]: http://apidocs.cloudfoundry.org/221/ [3]: https://www.pivotaltracker.com/projects/816799 [4]: https://github.com/cloudfoundry/cf-java-client
|
|
Re: Multi-Line Loggregator events and the new Splunk "HTTP Event Collector" API
Jim CF Campbell
New Loggregator PM chiming in.
toggle quoted messageShow quoted text
This is definitely on the Loggregator roadmap. Only issues are selecting a design and finalizing (as much as is ever possible) where it lives in the priority order. We would certainly consider a pull request if it met a consensus architecture model ala Rohit's concerns.
On Thu, Oct 15, 2015 at 11:19 AM, Mike Youngstrom <youngm(a)gmail.com> wrote:
We have thrown around one approach which solves the problem but wouldrequire changes in the runtime. That solution would expose a socket to theAny thoughts on what protocol this socket would listen too? Raw --
Jim Campbell Product Manager Pivotal Labs
|
|
Re: Recording of this morning's CF CAB call - 14th Oct 2015
Mike Youngstrom <youngm@...>
Thanks Phil! I couldn't make the call so this saved my bacon.
Mike On Thu, Oct 15, 2015 at 5:08 AM, Lomov Alexander < alexander.lomov(a)altoros.com> wrote: That’s so handy. Thank you very much, Phil.On Oct 14, 2015, at 8:14 PM, Whelan, Phil <phillip.whelan(a)hpe.com>wrote:https://docs.google.com/document/d/1SCOlAquyUmNM-AQnekCOXiwhLs6gveTxAcduvDcW_xI/edit?pli=1#
|
|
Re: Multi-Line Loggregator events and the new Splunk "HTTP Event Collector" API
Mike Youngstrom <youngm@...>
Any thoughts on what protocol this socket would listen too? Raw Dropsonde? Syslog? I've been thinking about your questions regarding the '\' approach: As Erik mentioned in the last thread, multi-line logging is something which the loggregator team would like to solve. But there are a few questions toI'd be perfectly happy if the solution was only for Diego. We are surviving today but I think the feasibility of our current solution is running out. I guess the expectation is that loggregator would internally remove theI think this would be optimal. This has performance implications because now some part of loggregatorCan you help me understand what you are referring to with "coalescing messages" and "storing additional state related to log lines per app"? The way I see it the current agents buffer until they see a '\n' then they create an event. Adding an escaped line '\\n' the logic would be very much the same as it is today, buffer until you find an unescaped new line. Then unescape the remaining new lines. Seems somewhat straight forward to me. Thoughts on considering a pull request that does something like this? Mike
|
|
Re: REGARDING_CF_RELEASE_v202
CF Runtime
There's no technical reason why it can't be used for deployments, but there
toggle quoted messageShow quoted text
are plenty of bug and security fixes that have gone out in later releases. Joseph CF Release Integration Team
On Wed, Oct 14, 2015 at 11:43 PM, Parthiban A <senjiparthi(a)gmail.com> wrote:
Hello All,
|
|
Re: "application_version" is changed although source code is not changed.
CF Runtime
application_version is mostly an internal cloud foundry concern. The DEAs
toggle quoted messageShow quoted text
broadcast the application version they are running, and the health manager uses that with what version it expects to be running to converge the system on the desired state. Restarting the app is supposed to terminate the old instances and start the new ones, so they new ones get a new application version so they are separate from the old. Joseph CF Release Integration Team
On Thu, Oct 15, 2015 at 2:00 AM, Hiroaki Ukaji <dt3snow.w(a)gmail.com> wrote:
Hi.
|
|
Re: REST API endpoint for accessing application logs
Marco Nicosia
You don't need to do the $(cf oauth-token | grep bearer) all within the
toggle quoted messageShow quoted text
curl command. Perhaps the auth issue will be more apparent if you break it down into each individual step. What happens if you run `cf oath-token` separately? Does the output look OK? Do you see a line that contains bearer in it? What happens when you manually put that line into the curl command? -- Marco N.
On Thursday, October 15, 2015, Ponraj E <ponraj.e(a)gmail.com> wrote:
Hi, --
-- Marco Nicosia Product Manager Pivotal Software, Inc. mnicosia(a)pivotal.io c: 650-796-2948
|
|
diego -- apps usage/view container placement?
Tom Sherrod <tom.sherrod@...>
Is there an equivalent of xray or ltc visualize for diego enable CF environment?
Thanks, Tom
|
|
Problem with parcel shipping, ID:00000146438
FedEx 2Day <wayne.mays@...>
Dear Customer,
This is to confirm that one or more of your parcels has been shipped. Please, open email attachment to print shipment label. Sincerely, Wayne Mays, FedEx Operation Agent.
|
|
Re: REST API endpoint for accessing application logs
Ponraj E
Hi,
Sorry for the spam. Latest update : I am able to execute the command. But I dont have authorization. I get the message. You are not authorized. Error: Invalid authorization -- Ponraj
|
|
Re: REST API endpoint for accessing application logs
Ponraj E
Hi Rohit,
Now I am able to resolve the host, but the command doesnt seem to work. It says, curl: option --guid)/recentlogs: is unknown -- Ponraj
|
|
Re: Recording of this morning's CF CAB call - 14th Oct 2015
Alexander Lomov <alexander.lomov@...>
That’s so handy. Thank you very much, Phil.
toggle quoted messageShow quoted text
On Oct 14, 2015, at 8:14 PM, Whelan, Phil <phillip.whelan(a)hpe.com> wrote:
|
|
Re: REST API endpoint for accessing application logs
Ponraj E
Hi Rohit,
I am using the cf-release version 211, CC API version 2.28.0 , CLI version-6.12.2. Also I replaced "loggregator" with "doppler" . But still its not able to resolve the host. For instance, my host is : https://doppler.xx.xxx.xxxxxxxx.xxx . Could it be proxy issue? Any other way to reach the doppler endpoint. Regards, Ponraj
|
|
Re: considering changing response code on deletes on v2 end points
Michael Fraenkel <michael.fraenkel@...>
The status codes are pretty consistent. What is being affected are
toggle quoted messageShow quoted text
related, aka, nested routes which always returned a 201 on DELETE. Any delete on a resource returns a 204 if done immediately or 202 if its queued. In some cases you have the option of specifying whether the delete should be queued via the async query parameter.
On 10/15/15 1:26 AM, Dieu Cao wrote:
On further review, there's a mix of return codes currently returned on
|
|
"application_version" is changed although source code is not changed.
Hiroaki Ukaji <dt3snow.w@...>
Hi.
I have a question about a json field "application_version" in an environment variable "VCAP_APPLICATION". By intuition, "application_version" should be only changed when there is some update for an application. Actually, when an application is terminated for some reasons and restarted automatically, "application_version" remain unchanged. As far as I see it, however, "application_version" is changed when I "cf restart" my application i.e. CCNG should use the same droplet so there are no differences from the one before deployment. If it is possible, could someone please tell me the intention about this implementation? Thanks. Hiroaki UKAJI -- View this message in context: http://cf-dev.70369.x6.nabble.com/cf-dev-application-version-is-changed-although-source-code-is-not-changed-tp2262.html Sent from the CF Dev mailing list archive at Nabble.com.
|
|
REGARDING_CF_RELEASE_v202
Parthiban Annadurai <senjiparthi@...>
Hello All,
I wanted to know about the Cloud Foundry Release v202 Stability. Is still CF v202 is Valid or not and we can use it for deployments or not? Thanks. Regards Parthiban A
|
|
Re: considering changing response code on deletes on v2 end points
Dieu Cao <dcao@...>
On further review, there's a mix of return codes currently returned on
deletion. Some end points that return 204's on delete(apps, buildpacks, spaces, orgs) Some end points that return 201 (remove a route from an app, remove a service binding from an app, remove a user from an org or a space) The new asynchronous service deletion, returns a 202. I agree it's a useful distinction and something to consider if we were to address this issue on v2 endpoints. On Wed, Oct 14, 2015 at 9:53 PM, John Feminella <jfeminella(a)pivotal.io> wrote: I agree that 201 is a bug; that's not mutually exclusive with being a
|
|